473,320 Members | 2,133 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

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
Jul 17 '05 #1
1 1540
take at look at these two pieces of code, you can see how I talk to 2 diff
types of servers, MX and http

http://www.gzentools.com/snippetview...l&v=mxmail.php
http://www.gzentools.com/snippetview...etresource.php

--
Mike Bradley
http://www.gzentools.com -- free online php tools
"connections cardiff" <sb@networkdata.co.uk> wrote in message
news:69**************************@posting.google.c om...
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

Jul 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Roysun_rohit | last post by:
I am interested in making a search engine which takes web sites iteratively, and downloads the web page or has to perform some search across the web pages. I am unsucessful to do so. My machine...
7
by: kent sin | last post by:
Please help: I was really blocked here. without goto I really do not known how to do it. The problem is to use PyZ3950 to consult a lists of hosts and for each of them to search for a list of...
1
by: TomCullen | last post by:
I am trying to connect a new LBM Laptop to an SQL server on the network and I get "test connection failed because of an error in initializing provider, SQL server does not exist or access...
1
by: The ants are driving me crazy | last post by:
Can anyone point me to code samples that can get the permission set for a network drive? I tried the FileInfo and DirectoryInfo classes but they do not seem to list what I need.
1
by: ynyus75 | last post by:
Hey! I am unable to connect some of the services that I host from my laptop at home, such as SMTP and MySQL on port numbers 25 and 3306 respectively. But I am able to some services such as...
1
by: ynyus75 | last post by:
Hey! I am unable to connect some of the services that I host from my laptop at home, such as SMTP and MySQL on port numbers 25 and 3306 respectively. But I am able to some services such as...
2
by: TARUN | last post by:
Hello all, Please help and suggest the code to get the printer status over the network. for Example, i have an string "\\\\os1\\PtName" where os1 is the system name and PtName is the printer...
2
by: martin lanny | last post by:
Simple network scanner is a part of my dotnet solution. It pings ip addresses in a selected network range and gives me the response time for each computer it finds. Anyhow, I would need to...
4
by: FireWall | last post by:
Hi all, I have a question about the netsh command. I looked everywhere but nobody seems to have my problem. For the moment if i do "netsh wlan show profiles" i see my current network under the...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.