Re: Socket question

2012-08-17 Thread Alex Tweedly
Nothing significant has changed since 3.5 When you do your accept datagram connections on port tPort with message "myHandler" there are, of course, no "connections" as such. All that happens is that myHandler will be called for each incoming packet. See www.tweedly.org/downloads and downlo

Socket question

2012-08-16 Thread Paul D. DeRocco
I'm still on Rev3.5, so I hope things haven't changed much. If I open a UDP datagram socket, how do I request it to read one datagram, regardless of how small or large it turns out to be? If I specify a "for" clause, does that just set an upper limit, or does it wait until enough datagrams have ar

Re: Read From Socket Question

2011-11-19 Thread Björnke von Gierke
Besides the typo in the last exapmple, it's kinda important to know what you actually send into the socket on the other side. is it another test code, or is it some existing software? Is whatever is contained in the paramenter "myDevSock" actually in "the opensockets"? I suggest to make sure

Re: Read From Socket Question

2011-11-19 Thread Robert Brenstein
On 18.11.2011 at 12:17 Uhr -0600 Warren Kuhl apparently wrote: I am trying to retrieve data from a socket. When I try: read from socket myDecSock until eof put it into tData ...no data Is that your actual code, Warren? There is a typo in the non-working code: myDecSock instead of myDevSock.

Re: Read From Socket Question

2011-11-18 Thread Pierre Sahores
Should this production ready old example help ? http://www.sahores-conseil.com/insead/page5_en.html Best, Le 18 nov. 2011 à 19:17, Warren Kuhl a écrit : > I am trying to retrieve data from a socket. > > When I try: > > read from socket myDevSock for characters > put it into tData > ...I

Read From Socket Question

2011-11-18 Thread Warren Kuhl
I am trying to retrieve data from a socket. When I try: read from socket myDevSock for characters put it into tData ...I get data read from socket myDevSock until crlf put it into tData ...I get data read from socket myDecSock until eof put it into tData ...no data Wouldn't the read until