Hello,
I have used socketConnection to connect to a TCP server. I havent
figured out a way to do the same with a UDP server.
i.e I have a server listening on 9000, communicating via UDP. I would
like to , from R, send packets to this server,
This does not work
u <- socketConnection('localhost',9000)
Error in socketConnection("localhost", 9000, blocking = F) :
cannot open the connection
In addition: Warning message:
In socketConnection("localhost", 9000, blocking = F) :
localhost:9000 cannot be opened
I have confirmed that something is indeed listening on the other side.
Any help would be appreciated.
Regards
Saptarshi
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.