network connect query

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • connections  cardiff

    network connect query

    hi,

    i am making a little prject in php and wondered if any of you more
    experienced developers could shed some light on a query.

    i want to connect to a server, give it some data then check it's
    response

    i think I can work out how to do it with fsockopen and fput and fgets
    but the query i have is does anyone know of a prgram i can run which
    will simulate a server on a given tcp port and display what it is the
    client sends when i attempt to connect to the server...

    hope this is clear and you can help..

    thanks


    s
  • CountScubula

    #2
    Re: network connect query

    take at look at these two pieces of code, you can see how I talk to 2 diff
    types of servers, MX and http






    --
    Mike Bradley
    http://www.gzentools.com -- free online php tools
    "connection s cardiff" <sb@networkdata .co.uk> wrote in message
    news:69fe7511.0 402121548.3ef9e 10e@posting.goo gle.com...[color=blue]
    > hi,
    >
    > i am making a little prject in php and wondered if any of you more
    > experienced developers could shed some light on a query.
    >
    > i want to connect to a server, give it some data then check it's
    > response
    >
    > i think I can work out how to do it with fsockopen and fput and fgets
    > but the query i have is does anyone know of a prgram i can run which
    > will simulate a server on a given tcp port and display what it is the
    > client sends when i attempt to connect to the server...
    >
    > hope this is clear and you can help..
    >
    > thanks
    >
    >
    > s[/color]


    Comment

    Working...