Socket vs Mailslots.

I need to communicate between two machines in the LAN. Which is better approach to communicate with Sockets or Mailslots…?
I knew that Named pipes will not work on 98.
Basically my communication module should work for windows 98, NT, 2000 & XP.
If I use sockets will I face any version problem? If I get version problem, how to overcome this?
And I found Mailslots are not biderctional…
Pls suggest me which is better to go ahead…

thanks in advacne
Ravindranath

Go for sockets. You won’t face any version problems, your code
will be compileable on non Windows platforms, sockets are supported
by ALL windows platforms, and your application willl work on WAN as well.

-Farooque Khan
http://farooque.150m.com

“Ravindhranad Nagarur” wrote in message
news:xxxxx@ntfsd…
I need to communicate between two machines in the LAN. Which is better
approach to communicate with Sockets or Mailslots…?
I knew that Named pipes will not work on 98.
Basically my communication module should work for windows 98, NT, 2000
& XP.
If I use sockets will I face any version problem? If I get version
problem, how to overcome this?
And I found Mailslots are not biderctional…
Pls suggest me which is better to go ahead…

thanks in advacne
Ravindranath

I would use sockets. The more widely used API.

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

----- Original Message -----
From: “Ravindhranad Nagarur”
To: “Windows File Systems Devs Interest List”
Sent: Wednesday, March 10, 2004 6:47 AM
Subject: [ntfsd] Socket vs Mailslots.

> I need to communicate between two machines in the LAN. Which is better
approach to communicate with Sockets or Mailslots…?
> I knew that Named pipes will not work on 98.
> Basically my communication module should work for windows 98, NT, 2000 &
XP.
> If I use sockets will I face any version problem? If I get version
problem, how to overcome this?
> And I found Mailslots are not biderctional…
> Pls suggest me which is better to go ahead…
>
> thanks in advacne
> Ravindranath
>
>
> —
> Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17
>
> You are currently subscribed to ntfsd as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>

On Tue, 2004-03-09 at 21:47, Ravindhranad Nagarur wrote:

I need to communicate between two machines in the LAN. Which is better approach to communicate with Sockets or Mailslots…?
I knew that Named pipes will not work on 98.
Basically my communication module should work for windows 98, NT, 2000 & XP.
If I use sockets will I face any version problem? If I get version problem, how to overcome this?
And I found Mailslots are not biderctional…
Pls suggest me which is better to go ahead…

Sockets; if you need mailslot semantics use UDP (DGRAM) sockets.

-sd