codetoad.com
  ASP Shopping CartForum & BBS
  - all for $20 from CodeToad Plus!
  
  Home || ASP | ASP.Net | C++/C# | DHTML | HTML | Java | Javascript | Perl | VB | XML || CodeToad Plus! || Forums || RAM 
Search Site:
Search Forums:
  reading and sending a msg through tcp socket  lucaluchi at 14:18 on Tuesday, June 12, 2007
 

Hi guys, I am new to perl (first day today) so I hope what I am asking makes sense...
I need to write two small script communicating with two servers.

First script will establish a connection via http with server one, read data and send data to server two via tcp socket...

Second script will read data from server two via tcp socket and send data (obviously afters some manipulation which is fairly easy) to server one via http...

does it make sense?
I have seen example on how to establish an http connection but how do I establish a tcp / socket connection and read data coming from it (or send it in fact)?

thanks








CodeToad Experts

Can't find the answer?
Our Site experts are answering questions for free in the CodeToad forums
//








Recent Forum Threads
•  reading and sending a msg through tcp socket
•  SEAMONKEY-onfocus
•  Cursor position line number in firefox.
•  oops perl
•  Validaing User Id using JSP and Servlet
•  IMPLEMENT JAVABEANS IN JSP
•  Re: Can anyone please help me, html table to access.
•  disabling submit after clicking once
•  Win32::Perms and ACL order


Recent Articles
ASP GetTempName
Decode and Encode UTF-8
ASP GetFile
ASP FolderExists
ASP FileExists
ASP OpenTextFile
ASP FilesystemObject
ASP CreateFolder
ASP CreateTextFile
Javascript Get Selected Text


© Copyright codetoad.com 2001-2007