Ask Question Forum:
Model Library:2025-02-08:A.I. model is online auto reply
C
O
M
P
U
T
E
R
2
8
Show
#
ASK
RECENT
←
- Underline
- Bold
- Italic
- Indent
- Step
- Bullet
- Quote
- Cut
- Copy
- Paste
- Table
- Spelling
- Find & Replace
- Undo
- Redo
- Link
- Attach
- Clear
- Code
Below area will not be traslated by Google,you can input code or other languages
Hint:If find spelling error, You need to correct it,1 by 1 or ignore it (code area won't be checked).
X-position of the mouse cursor
Y-position of the mouse cursor
Y-position of the mouse cursor
Testcursor
caretPos
Attachment:===
Asked by duncanb7
at 2024-07-09 09:00:05
Point:500 Replies:9 POST_ID:828566USER_ID:11059
Topic:
PHP Scripting Language;Windows 2003 Server;Scripting Languages
I write a server/client php script for socket communication based on the reference link at
http://php.net/manual/en/sockets.examples.php
And I used same server address(163.77.88.6) and port number(10000) in server.php and client.php for socket communication
The client.php is running on my home PC xampp server. And it is no issue at all and the connection is establish and server socket is keep sending out non-stop message to client
such as "welcome you.." from my remote server site .And Client just receive the message and echo out on window console without stopping that is what I want to do.
Now I go to check netstat command on window and see
Port 10000 is still active and report two address, For example,
Local Addresss REmote Adress
========================================================
TCP 218.123.88.123:41345 163.77.88.6:10000 Established
The Local address is my home PC ISP provider address.
So Two address location is doing socket communcation without stopping.
Just want to know, Could I use other new C or PHP or Java program to
connect(or Direct Acess) the establed communication port and grab the data or message such as"Welcome you ..."
I tried to use php socket and set socket address for ISP address as 218.123.88.123:41345 but socket connection error "connection is refused "
Suppose what data is coming to my ADSL device on home PC, I should be able
to collect all data stream by other new applcation, RIght ?
The error whether it is related to Firewall or WIndow system issue ? Web Proxy is not working because the data is raw data not http repsonse data. Charles or Fiddle is http proxy only could NOT grab raw data for my case.
I google it , found there is similar topic like Window 2008 server DirectAcess or VPN
but it seems not easy to understand for me
I try one application for drect access I/O at http://www.codeproject.com/Articles/10263/Kport-Part-2-Direct-Access-I-O-Ports-under-Win-NT but the application is not working at all when type the established port number 10000
Please advise and hope you understand my this testing example for collecting data
from establish communcation port on my home pc
Duncan
http://php.net/manual/en/sockets.examples.php
And I used same server address(163.77.88.6) and port number(10000) in server.php and client.php for socket communication
The client.php is running on my home PC xampp server. And it is no issue at all and the connection is establish and server socket is keep sending out non-stop message to client
such as "welcome you.." from my remote server site .And Client just receive the message and echo out on window console without stopping that is what I want to do.
Now I go to check netstat command on window and see
Port 10000 is still active and report two address, For example,
Local Addresss REmote Adress
========================================================
TCP 218.123.88.123:41345 163.77.88.6:10000 Established
The Local address is my home PC ISP provider address.
So Two address location is doing socket communcation without stopping.
Just want to know, Could I use other new C or PHP or Java program to
connect(or Direct Acess) the establed communication port and grab the data or message such as"Welcome you ..."
I tried to use php socket and set socket address for ISP address as 218.123.88.123:41345 but socket connection error "connection is refused "
Suppose what data is coming to my ADSL device on home PC, I should be able
to collect all data stream by other new applcation, RIght ?
The error whether it is related to Firewall or WIndow system issue ? Web Proxy is not working because the data is raw data not http repsonse data. Charles or Fiddle is http proxy only could NOT grab raw data for my case.
I google it , found there is similar topic like Window 2008 server DirectAcess or VPN
but it seems not easy to understand for me
I try one application for drect access I/O at http://www.codeproject.com/Articles/10263/Kport-Part-2-Direct-Access-I-O-Ports-under-Win-NT but the application is not working at all when type the established port number 10000
Please advise and hope you understand my this testing example for collecting data
from establish communcation port on my home pc
Duncan
Expert: pergr replied at 2024-07-12 04:59:47
The source code is on the website.... Click on Develop, Browse the code. And:
http://www.wireshark.org/docs/wsdg_html_chunked/
http://www.wireshark.org/docs/wsdg_html_chunked/
Author: duncanb7 replied at 2024-07-12 04:49:47
That is what I want for a long time.
Is the software, wireshark providing source code C for reference
and further development purpose for users ?
If possilbe, provide us the similar other software with source code C provided
Please advise in this thread
Duncan
Is the software, wireshark providing source code C for reference
and further development purpose for users ?
If possilbe, provide us the similar other software with source code C provided
Please advise in this thread
Duncan
Expert: pergr replied at 2024-07-12 04:47:20
By default, you collect all traffic.
You can then filter to see only traffic to your server based on IP address, for example. The syntax for filtering is the same as for "tcpdump", which you can google for.
You can then filter to see only traffic to your server based on IP address, for example. The syntax for filtering is the same as for "tcpdump", which you can google for.
Author: duncanb7 replied at 2024-07-12 04:27:20
Yes, i see it when chose my the correct adapter card
Author: duncanb7 replied at 2024-07-12 04:22:09
THanks for your link;
where I should put my ISP adress port which I want to collect the data on the Wireshark ?
Please advise
Duncan
where I should put my ISP adress port which I want to collect the data on the Wireshark ?
Please advise
Duncan
Expert: pergr replied at 2024-07-12 04:14:43
Author: duncanb7 replied at 2024-07-12 03:59:19
I need to download from google or it is already in Window at command line?
Accepted Solution
Expert: pergr replied at 2024-07-12 01:21:13
500 points EXCELLENT
If you want to collect data, I assume that Wireshark should be your first choice, with pcap that comes with it for Windows.
Expert: _alias99 replied at 2024-07-11 12:01:06
duncanb7,
A message has been sent to some additional experts asking them to review your question. We will check back again to see if you are getting the help you need.
This request included Experts from PHP Scripting Language, Windows 2003 Server, Virtual Private Networking (VPN), Miscellaneous Networking, Scripting Languages.
Please do not respond to this comment; we will be monitoring your question for activity from the Experts.
Thank you for using Experts Exchange,
_alias99
Community Support Moderator
http://www.experts-exchange.com/R_8484.html
A message has been sent to some additional experts asking them to review your question. We will check back again to see if you are getting the help you need.
This request included Experts from PHP Scripting Language, Windows 2003 Server, Virtual Private Networking (VPN), Miscellaneous Networking, Scripting Languages.
Please do not respond to this comment; we will be monitoring your question for activity from the Experts.
Thank you for using Experts Exchange,
_alias99
Community Support Moderator
http://www.experts-exchange.com/R_8484.html