Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

problem closing a socket connection

0 views
Skip to first unread message

v01...@gepex.ge.com

unread,
Nov 28, 2000, 3:00:00 AM11/28/00
to
I have a problem with my delphi application, with a ClientSocket I
connect to a lantronix terminal server, but when I use the command
ClientSocket1.Active := False the port on the terminal server stays
open.
I contacted lantronix for this problem but they say that the problem is
in my delphi application.
I use Delphi 4 C/S on a windows NT 4.0 machine with servicepack 6a.

Does anyone have a sollution to my problem?

Thanks in advance,

Ronald Broeders


Sent via Deja.com http://www.deja.com/
Before you buy.

Dirk Claessens

unread,
Nov 28, 2000, 3:00:00 AM11/28/00
to
<v01...@gepex.ge.com> schreef in berichtnieuws
9001it$el2$1...@nnrp1.deja.com...

> I have a problem with my delphi application, with a ClientSocket I
> connect to a lantronix terminal server, but when I use the command
> ClientSocket1.Active := False the port on the terminal server stays
> open.

Exactly what port stays open? And what is the problem? Can you not reconnect
to the server?
-A terminal server is basically a socket server, so it is normal that it
will keep open a listening socket on some port.
-Even when the connection was correctly closed from the client side, the
port number on the server side will remain in the time_wait state for
approx. 4 minutes. Newly established connections in that time period will
get a new port number.

HTH,
--
Regards,

Dirk Claessens
---------------------------------------------------------
http://www.claessens16.yucom.be
Attention: All spamshields raised; E-mails will bounce!
---------------------------------------------------------


ltx_tech...@my-deja.com

unread,
Dec 19, 2000, 3:40:05 PM12/19/00
to
Hi,

I am sure that Lantronix can help you solve your problem. You can call
them at 1-800-422-7044. A couple of things to check would be the access
on the serial port. If you are always going to be making a connection
to the serial port from the network you should have the access set to
remote. The command to do this is change access remote. If you have
further questions please call me at the number above.

Regards,
Matt Newton
Lantronix Technical Support

v01...@gepex.ge.com

unread,
Dec 20, 2000, 2:22:17 AM12/20/00
to
Thanks for your suggestions, but I found the cause of my problem. It's
my network.
I have tested with three terminal servers an on two locations, on one
location everything goes fine and on another location I have problems.
Then I looked at the collisions of my network and there where a lot of
them. I think that sometimes the FIN package doesn't reach my terminal
server.

In article <9001it$el2$1...@nnrp1.deja.com>,


v01...@gepex.ge.com wrote:
> I have a problem with my delphi application, with a ClientSocket I
> connect to a lantronix terminal server, but when I use the command
> ClientSocket1.Active := False the port on the terminal server stays
> open.

> I contacted lantronix for this problem but they say that the problem
is
> in my delphi application.
> I use Delphi 4 C/S on a windows NT 4.0 machine with servicepack 6a.
>
> Does anyone have a sollution to my problem?
>
> Thanks in advance,
>
> Ronald Broeders
>

> Sent via Deja.com http://www.deja.com/

> Before you buy.

0 new messages