Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / August 2005

Tip: Looking for answers? Try searching our database.

IrDA and Socket

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Sirtap - 03 Aug 2005 08:08 GMT
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
hB - 03 Aug 2005 12:01 GMT
Yes.
IRDA would be using (occupied) some Port, probably some (virtual) COM
Port
(for ex: COM3...)
You can then use it.

---
hB
Sirtap - 03 Aug 2005 12:48 GMT
> Yes.
> IRDA would be using (occupied) some Port, probably some (virtual) COM
[quoted text clipped - 3 lines]
> ---
> hB

Hi
   But how bind IrDA with COM3 (for ex.) ??? In .NET of course.
Regards
hB - 06 Aug 2005 05:17 GMT
'AddressFamily.Irda'
IrDACharacterset
IrDAClient
IrDADeviceInfo
IrDAEndPoint
IrDAHints
IrDAListener

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/irda/irda/irda_
programming_with_windows_sockets.asp


---
hB
Sirtap - 06 Aug 2005 12:33 GMT
> 'AddressFamily.Irda'
> IrDACharacterset
[quoted text clipped - 6 lines]
> ---
> hB

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.
hB - 06 Aug 2005 16:11 GMT
http://www.cswl.com/whiteppr/pdfzip/irdatips.zip
this might help you, what i meant.
then u could see recent post in 'microsoft.public.dotnet.framework'
'RS232 Communication'
(http://groups.google.com/group/microsoft.public.dotnet.framework/browse_thread/t
hread/f3b3de5964f3a66d/e087b43f6c1bcced#e087b43f6c1bcced
)

---
hB

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.