Recent

Author Topic: Visual LNet SendMessage Disconnects socket  (Read 13168 times)

CBubel

  • Newbie
  • Posts: 4
Visual LNet SendMessage Disconnects socket
« on: May 23, 2006, 09:01:12 pm »
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

  • Newbie
  • Posts: 4
RE: Visual LNet SendMessage Disconnects socket
« Reply #1 on: May 23, 2006, 09:02:25 pm »
oh btw im using lazarus/lnet component with kubuntu breezy badger linux

CBubel

  • Newbie
  • Posts: 4
RE: Visual LNet SendMessage Disconnects socket
« Reply #2 on: May 24, 2006, 01:40:51 am »
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

  • Sr. Member
  • ****
  • Posts: 412
    • http://www.astarot.tk
RE: Visual LNet SendMessage Disconnects socket
« Reply #3 on: June 16, 2006, 04:39:48 pm »
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...

 

TinyPortal © 2005-2018