UDPServersAndClients

A module four server/client programs
Download

UDPServersAndClients Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Robin Bank
  • Publisher web site:
  • http://search.cpan.org/~robinbank/

UDPServersAndClients Tags


UDPServersAndClients Description

A module four server/client programs UDPServersAndClients is a Perl module that exports a variable, $ip that you should set as the IP of the computer where you are running the server before running any of the below client functions to connect to that computer.This module exports four subroutines which do not accept any values or return any:1. server_onlinecheck (); -- this subroutine runs a server that will allow anyone running the client function, client_onlinecheck (); to check if the server is online. This can be useful if you have a server you want to check using UDP.2. server_filestore (); -- this subroutine runs a server that will allow anyone running the client function, client_filestore(); to transfer files to and get files from the server's current directory (the directory of your script that accesses server_filestore();).3. client_onlinecheck (); -- this subroutine has already been explained. Just run it.4. client_filestore (); -- Ditto.Note: the port used for data transfer is 1234 so it must be available for this module to work.Note: this module requires the module IO::Socket::INET. =head1 SEE ALSOIO::Socket and IO::Socket::INETSYNOPSIS use UDPServersAndClients; Requirements: · Perl


UDPServersAndClients Related Software