you need. If there is more in winsock buffer then
>OnDataAvailable will immediatly fire again with the rest of the data.
Hi Wilfried,
thank you very much, it works :)
Ciao.
--
Geppy Piloni
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists
you very much for your effort :)
Ciao.
--
Geppy Piloni
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be
have no
luck, I'll post the code here.
Thank you very much Wilfred.
Ciao.
--
Geppy Piloni
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be
s. If you setup an IP address, the component listen only from that
>interface. When you use loopback address (127.0.0.1) to listen "locally", it
>wont' work with any of the physical interfaces ! That may be your problem.
I'll try in this way.
Thank you very
7;m doing something wrong with WSocket properties.
I set Addr on the client and Address on the server with the IP address of
server machine, the Port on same value on both sides: is this enough to
make a connection on a LAN?
Thank you in advance for you replies.
Ciao.
--
Geppy Piloni
--
e in Wilfried's client code I didn't notice:
FillChar(Data, SizeOf(TData), 0);
I was filling my record before executing this line...
That's why I received an empty one.
Thank you guys for your help :)
--
Geppy Piloni
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be
ointer dereferencing code is wrong?
Or should I need to use another function instead of Move()?
Ciao.
--
Geppy Piloni
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be
urs studying and trying a lot of different approaches
(Indy, ICS, multithread, etc.) I got confused and I'm pretty sure I already
have the solution in my head but I'm not able to code it ;)
Thank you again Wilfried.
Ciao.
--
Geppy Piloni
--
To unsubscribe or change your settings for
ow much data it will receive.
For this reason I'd like to implement a simple protocol like Wilfried did
in his example, where the text command tells which record the client is
going to send.
Thank you for all your replies.
Ciao.
--
Geppy Piloni
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be
xt + #13#10); // the command is 'DATA '
// r fields filled with some data
pr := @r;
wsocket.LineMode := False;
wsocket.Send(pr, SizeOf(r));
end;
On the server, I receive correctly the text command but not the record.
What I'm doing wrong?
Thank you in advance for yo
10 matches
Mail list logo