J
Jon
Hi,
I'm pretty confused about how to establish a connection
between two pocket pc's over IR. The sort of connection I
want to establish is one in which there's a
irdaclient/socket on each side that can write/read from a
stream to communicate back and forth, similar to a tcp
connection.
The problem is that if I want to construct an
IrDAListener, or just a socket to listen, I usually need
some sort of LOCAL end point to bind to. The concept of a
local endpoint does not not seem to carry over very well
from TCP networking. On a previous post, I was told that
I should use IrDAClient.DiscoverDevices to find a remote
IrDAendpoint to connect too. But, if I do that the
connection will always be refused because there's nothing
accepting connections on the other side.
If anyone has done this sort of thing before, can you
please send me or refer me to some code that does it.
It's not documented AT ALL anywhere, so I have no clue
where to find a solution. I'm especially curious about
the constructor calls for IrDAListener and IrDAClient, or
Sockets.
Thanks for any help you can offer,
Jon
I'm pretty confused about how to establish a connection
between two pocket pc's over IR. The sort of connection I
want to establish is one in which there's a
irdaclient/socket on each side that can write/read from a
stream to communicate back and forth, similar to a tcp
connection.
The problem is that if I want to construct an
IrDAListener, or just a socket to listen, I usually need
some sort of LOCAL end point to bind to. The concept of a
local endpoint does not not seem to carry over very well
from TCP networking. On a previous post, I was told that
I should use IrDAClient.DiscoverDevices to find a remote
IrDAendpoint to connect too. But, if I do that the
connection will always be refused because there's nothing
accepting connections on the other side.
If anyone has done this sort of thing before, can you
please send me or refer me to some code that does it.
It's not documented AT ALL anywhere, so I have no clue
where to find a solution. I'm especially curious about
the constructor calls for IrDAListener and IrDAClient, or
Sockets.
Thanks for any help you can offer,
Jon