Socket communication btw wireless nodes

I am new to socket programming in ruby and am having problems with a
very simple server when I attempt to create a TCPServer.

The error “The requested address is not valid in its context. - bind(2)
(Errno::EADDRNOTAVAIL)” is reported when my code executes the line:

@server =“”,4313 )

The code is running on “”. Both “” and
“” are on the same wireless network. The router does not
have port fowarding enabled (I have been told that it is not necessary
for internal communication).

I am able to ping “” from “”, as well as, get
address info.

Any help would really be apreciated.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs