Visual LNet SendMessage Disconnects socket lazarus / 38-Networking and Web Programming ---------------------------------------------------------------------- CBubel · 2006-05-23 19:01 hello, Im having some probs with lnet  ..... i set up the client ltcpclient1: tltcpcomponent; fnet : tltcpcomponent; as per example included with lnet dist. on the socket connect event i send a packet fnet.sendmessage(packet); i receive about 4 packets and process them (at which point i run netstat and shows connection is still established) all is ok i send another message using sendmessage and it fires the disconnect event, netstat shows socket disconnected ... any idea why that might be? chris ---------------------------------------------------------------------- CBubel · 2006-05-23 19:02 oh btw im using lazarus/lnet component with kubuntu breezy badger linux ---------------------------------------------------------------------- CBubel · 2006-05-23 23:40 OK DUH IM A MORON!!!!!!!!! ... the server im connecting to issues a session id .... i totally overlooked that whilst packet sniffing :| anyways problem resolved disregard ---------------------------------------------------------------------- Almindor · 2006-06-16 14:39 sorry I didn't report sooner, I'm not viewing these forums much. If you have problems feel free to e-mail me directly, I go here only twice a month or so...