Questions tagged [multicastsocket]

A multicast socket is a bi-directional communications endpoint used for the sending of packets to multiple receivers via multicast (typically IP) or for receiving multicast packets.

156 questions
-1
votes
2 answers

multiasting TypeError: argument must be an int, or have a fileno() method

I have a problem, I've created multicasting with gui and my program need sys.stdin but I have text - string in my gui. sockets_list = [sys.stdin, server] read_sockets,write_socket, error_socket = select.select(sockets_list,[],[]) This code does…
-1
votes
2 answers

Java Get MulticastSocket.receive to Throw ClosedByInterruptException

I have some code that reads data from a multicast socket until a user-defined end time. I would also like to stop reading data if the thread is interrupted via a call to Thread.interrupt (or by any other user-initiated action you can come up with).…
Jeff G
  • 4,470
  • 2
  • 41
  • 76
-1
votes
1 answer

Why multicasting isn't working?

My program doesn't work properly. The problem is that second client can't see messages from the first. I think problem is in while loop. Just not reading from IP adress. Can you help me? Thank you in advance. package multicastchat; import…
ilyablbnv
  • 161
  • 2
  • 10
-1
votes
1 answer

java.net.SocketException: setsockopt failed: ENODEV (No such device)

10-28 14:40:11.530: W/System.err(11802): java.net.SocketException: setsockopt failed: ENODEV (No such device) 10-28 14:40:11.530: W/System.err(11802): at libcore.io.IoBridge.setSocketOption(IoBridge.java:324) 10-28 14:40:11.530:…
lsm
  • 17
  • 1
  • 3
-1
votes
1 answer

Messaging between Android and Desktop

I'm trying to make an Android app that's able to send a message to a computer and receive one from it. It's pretty basic. The thing is, I have accomplished this through multicasting, although not exactly. My app is able to receive messages from the…
-2
votes
1 answer

client server socket programming

Hii all I am novice in socket programming.. I had two programs. RECEIVE and SENDRECEIVE. In RECEIVE I simply write the code for receiving data from a program acting as server using resvfrom(.....) and in the later one I had written the code for …
mot12
  • 25
  • 7
1 2 3
10
11