Dont you connect to port 60500 instead of listening on it?  Something is 
already listening on that port.

Dan.

----- Original Message ----- 
From: "David Lewis" <[EMAIL PROTECTED]>
To: "ICS support mailing" <twsocket@elists.org>
Sent: Tuesday, January 24, 2006 10:16 AM
Subject: [twsocket] Port Access


> Hi,
>
> I have a client service that connects and gathers data and then throws
> this data out in a stream on port 60500. This client is 3rd party and I
> cannot alter it. However, it is known to be working product.
>
> What I need to be able to do is connect to that stream stream of data on
> port 60500, and then decode and process it.
>
> I've tried just throwing together a quick test program, using a single
> TWSocket, with settings:
>    co_IcsSocket->Addr = "0.0.0.0";
>    co_IcsSocket->Port = "60500";
>    co_IcsSocket->Listen( );
>
> But that throws:
>
> Project PortMonitor.exe raised exception class eSocketException with
> message 'Error 10048 in function Bind Address already in use'
>
> Now, I am presuming that the 'already in use' bit, means that the client
> service already has access to this port.
>
> What should I be doing differently to be able to gather this stream of
> data?
>
> Dave
>
> -- 
> 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
> 

-- 
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

Reply via email to