Networking is built by layers. The top layer, the application layer is
what you are developing, this sends information, in the form of
packets to the transport layer. The transport layer, TCP or UDP,
packages them and sends them down to the next layer and so on. After
they are sent to the receiver, they are stripped of the added
information as they go back up the layers stopping with the application
layer. The protocols are system independent. There should be no
difference what platform you are using, as long as TCP/UDP is
implemented. If you are sending out packets to the loopback interface
lp0, 127.0.0.1 typically, there should be no problem receiving them,
providing that the machine is listening for them. This is usually done
by binding a port to listen for requests, then handling them
appropriately. If you are going out of your system, then back in
through en0, or a different interface, and if your firewall is on, it
might be blocking the requests coming into whatever port you are trying
to use. Another thing is that if you are port forwarding from a
router, make sure that both tcp and udp packets are being forwarded,
otherwise the router will throw out upd packets. I have written a nntp
server and client on OS X that worked on linux, OS X, and windows
machines seamlessly (luckily we were using java, so it was trivial to
port it). Let me know if this helps, or if you need more assistance.
On Nov 10, 2003, at 9:16 AM, Andrew Farmer wrote:
On Mon, 10 Nov 2003 03:57:02 -0800, Razia Bulsara muttered:
I have developed an app for Open Transport UDP broadcast on Mac,The
has a Windows counterpart that it needs to communicate with.. Both
broadcast UDP packets. The difference is that the Windows version
packets it sends and also cross platform, whereas the Mac version
recieve its own packet. It is fairly important that the apps behave
this respect. How do I go about getting my Mac client to
receive its own packets?
Write in a special case?
What (broadcast?) address are you sending the packets to?
[demime 0.98b removed an attachment of type application/pgp-signature]
studentdev mailing list | email@hidden
Do not post admin requests to the list. They will be ignored.