in reply to Can't use IO::Socket, need an alternative.
There are big chunks here I'm missing as I'm not a Windows user. I'm trying to think abstraction layers here. TFTP is Layer 4, Transport, and uses socket() to communicate with Layer 3. I've looked through TFTPd and don't see a problem there as it's mostly an overload on your system's socket() call. Which I would think would be compiled to point to winsock?
If your TFTP server is listening on localhost and your application is requesting from localhost then you should have a datastream. Have you tried makeing TFTPd do:
Gratuitous perl snipit here:
$sock = IO::Socket::INET->new(LocalAddr =>'localhost', LocalPort => '69', Proto => 'udp');
I was assuming you are merely trying to serve your TFTP aware client locally instead of remotely. If not; could give me more information on what you're trying to do. What library is your application using to communicate? What protocol?
|
|---|