Can't close a socket. Bugs ?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Can't close a socket. Bugs ?

Damien Girard
Hi all,

I am searching about how using socket in Runtime Revolution (for permit  
two software to communicate between
them).

But I have a strange bug.

I have opened and close after a socket, and I have got this strange result  
:

-> put opensockets()
9850
9851

-> open socket "127.0.0.1:9850" with message "DPComOpen"
socket is already open


Why runrev say that this socket is already open ? This socket is not in  
the opensockets() list.
This is really strange, because when I have got the same result after I  
have done this command :
close socket "127.0.0.1:9850"


I don't really understand. Why runrev say that the socket is opened ? and  
what he cannot unload this socket.
(the close socket command don't return anything).

Regards,

Girard Damien.
_______________________________________________
use-revolution mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
Reply | Threaded
Open this post in threaded view
|

Re: Can't close a socket. Bugs ?

xtalkprogrammer
Dear Girard,

One might also say: the port is already open and there is no reason  
to open it again. It looks like you have a script that accepts  
connections on ports 9850 and 9851. What exactly are you trying to do?

Best,

Mark

--

Economy-x-Talk
Consultancy and Software Engineering
http://economy-x-talk.com
http://www.salery.biz

Salery is the easiest way to get your own web store on-line: http://
www.salery.biz/salery.html


Op 27-apr-2005, om 22:43 heeft Girard Damien het volgende geschreven:

> Hi all,
>
> I am searching about how using socket in Runtime Revolution (for  
> permit two software to communicate between
> them).
>
> But I have a strange bug.
>
> I have opened and close after a socket, and I have got this strange  
> result :
>
> -> put opensockets()
> 9850
> 9851
>
> -> open socket "127.0.0.1:9850" with message "DPComOpen"
> socket is already open
>
>
> Why runrev say that this socket is already open ? This socket is  
> not in the opensockets() list.
> This is really strange, because when I have got the same result  
> after I have done this command :
> close socket "127.0.0.1:9850"
>
>
> I don't really understand. Why runrev say that the socket is  
> opened ? and what he cannot unload this socket.
> (the close socket command don't return anything).
>
> Regards,
>
> Girard Damien.


_______________________________________________
use-revolution mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
Kind regards,

Drs. Mark Schonewille

Economy-x-Talk Consultancy and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
Facebook: http://facebook.com/LiveCode.Beginner
KvK: 50277553