Hi.
I am trying to connect to a device using IR on my computer/phone.
problem is that on the recieving end, there is no computer/IP Address and so on. its just a dumb IR which recieves data.
I cannot seem to connect to it as i get this error:
The system detected an invalid pointer address in attempting to use a pointer argument in a call
this is the code:
any ideas on how to Connect to such a device? (this device could be a TV/VCR)Code:Socket theSock = new Socket(AddressFamily.Irda, SocketType.Stream, ProtocolType.Unspecified); theSock.Connect(new IPEndPoint(IPAddress.None, 0));
in the end, i just want to send signal to it




Reply With Quote