IrDA and Socket

  • Thread starter Thread starter Sirtap
  • Start date Start date
S

Sirtap

Hello

I'm trying to get use of IrDA port in personal computer by .NET. I know
it's well documented in WinSock/WinAPI but is it possible under .NET ??? I
found some classes that could be very helpful, but they are available only
under WinCE.

Till now I know that socket have to be created by:



Socket sock = new Socket(AddressFamily.Irda, SocketType.Stream,
ProtocolType.Unspecified);



But I don't know how to bind this socket to IrDA port and start to send data
(to a laptop or other device).

I would be very thankful for any helpful answer.



Thanks in advance, Andrew
 
Yes.
IRDA would be using (occupied) some Port, probably some (virtual) COM
Port
(for ex: COM3...)
You can then use it.
 
Uzytkownik "hB said:
Yes.
IRDA would be using (occupied) some Port, probably some (virtual) COM
Port
(for ex: COM3...)
You can then use it.

Hi
But how bind IrDA with COM3 (for ex.) ??? In .NET of course.
Regards
 
Uzytkownik "hB said:
Hi
As I said " I found some classes that could be very helpful, but they are
available only
under WinCE".
Those classes can only be used under WinCE, and I'm writing program under
WinXP. It's huge difference. Under .NET for WinXP IrDAClient and others are
not available.

So I still don't know how to use IrDA under WinXP and .NET.
 
Back
Top