Re: [twsocket] SocketRcvBufSize for Listen sockets

2011-09-23 Thread Arno Garrels
Angus Robertson - Magenta Systems Ltd wrote: In WSocket, SocketRcvBufSize and SocketSndBufSize are currently only set in Dup and Connect, not in Listen. For UDP, this means SetSocketRcvBufSize and SetSocketSndBufSize always get called even if the buffer is already the correct size, since

Re: [twsocket] PCSensor server/ Simple client-server

2011-09-23 Thread Wilfried Mestdagh
Hi, to the target server, I need to send just two bytes, 0xBB and 0x83 You only need the HttpCli if you use HTTP protocol. Your device does not. It uses his own protocol (receiving 2 bytes - sending results). So you need to develop a simple TCP client program using TWSocket. If you need to

Re: [twsocket] SocketRcvBufSize for Listen sockets

2011-09-23 Thread Angus Robertson - Magenta Systems Ltd
For UDP, this means SetSocketRcvBufSize and SetSocketSndBufSize always get called even if the buffer is already the correct size, since it's not checked. Can you help me? I currently don't find the location in source? Where does it happen? I meant in my program, since with Listen

Re: [twsocket] PCSensor server/ Simple client-server

2011-09-23 Thread Angus Robertson - Magenta Systems Ltd
Not a WEB server, not a TELNET server, but still a server, if only a simple one. HttpTst, and the program I derived from it, as I understand things, sends a proper HTTP Get to the system of your choice. Your box is almost certainly both a web server (how you got and set configuration

Re: [twsocket] PCSensor server/ Simple client-server

2011-09-23 Thread TK Boyd
Angus, Wilfried... Many thanks! You need to develop a simple TCP client program using TWSocket... Thank you for pointing me at the right demo to work from Oh! And in looking around for that, I found the link Click here for a primer text about TCP... Apologies, everyone, for not seeing

Re: [twsocket] PCSensor server/ Simple client-server

2011-09-23 Thread Wilfried Mestdagh
Hi, Would the demo Client5: A basic client program using TWSocket component. seem to you who know like an alternative good starting point for my efforts? The good starting point is: do not copy! - Study example; then start from nothing - zero - null ! -- mvg, Wilfried

Re: [twsocket] PCSensor server/ Simple client-server-SOLVED!

2011-09-23 Thread TK Boyd
Hurrah! Thank you everyone! The ICS demo CliDemo1 did the job for me!! But I never would have got all the parts of the puzzle assembled without your help... There was a lot more to get right than just deciding which demo had the right elements. Now I can move forward with helping some good