re: three tier app

[email protected] Fri, 8 Aug 2003 08:55:05 -0500 (CDT)
Newsgroups gmane.comp.lang.delphi.programming
Message-ID <[email protected]>
Hello Eduardo ... I dont know if someone already answered your email or not ...
I saved it on my Desktop to answer it few dayes ago but then I got so busy .

any way ...
I dont know which API do you use ... and why do you use them .
but when I work with CORBA or Sockets I usually avoid sending large amount of data 

(which is usually happen when you use TStringList or something like it).
I reather use 2 functions instead ...

1 : to get the number of rows on the Server's TStringList
2 : in a Loop I start grabbing those rows Line by line ...

Note : Remember to take care of Critical sections that may happen if you are working with a Server with many clients.

I had a problem such as yours when I used the TCPSockets to Send a TString 

contents.
but my application used to hang up ...

I can give you an example for the 2 functions approach built using CORBA (if you 

are interested) ...
if you already found the solution then please just forget everything :)

Good Luck

	Tameem Bahri (Dr.T)


you wrote :
{
Hi ppl, I have a three tier app (D4), using Midas & Socket Server, and I
have the following problem.
When I send a TStringList with a String > 8k it returns a windows socket
error (10014) on API 'recv'
Note! I have already installed the Update Pack # 3
Any clue will be appreciated.

Eduardo Duran C.
TFM, Departamento TI
83057900 ext 7508 
}

....................................
Get your own free email account from
http://www.popmail.com


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for Your HP, Epson, Canon or Lexmark
Printer at Myinks.com. Free s/h on orders $50 or more to the US & Canada. http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/l.m7sD/LIdGAA/qnsNAA/i7folB/TM
---------------------------------------------------------------------~->

CodeCoffer - new Delphi code protection Tool!
http://www.delphicollection.com/public/CodeCoffer.htm
---------------------------------------------------------------
Unsubscribe:[email protected]
List owner:[email protected]
--------------------------------------------------------------- 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/