473,324 Members | 2,179 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,324 software developers and data experts.

Socket and authorization.

I use Socket for network communication.
I listen some port.
And where some computer send data to this port - I read it.
But how could I recognize from what computer I get data(host name IP
address)?
Nov 22 '05 #1
1 1494
Vladimir Bezugliy <vb**@inbox.ru> wrote:
I use Socket for network communication.
I listen some port.
And where some computer send data to this port - I read it.
But how could I recognize from what computer I get data(host name IP
address)?


Look at Socket.RemoteEndPoint to find out where the "other end" of your
socket is.

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
Nov 22 '05 #2

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

Similar topics

0
by: Jamie | last post by:
Hi all, I have a Python 2.3.2 application that uses the httplib package to download files. On Windows XP only, I'm getting a MemoryError exception in the socket module when files are around 2.8...
5
by: Jean-Pierre Bergamin | last post by:
Dear python-Community We are forced to use a quite old simulation software that's based on Modula-2. The idea is now to let this software "talk" to the outside world over a TCP/IP network. ...
3
by: Nikola Bjelicic | last post by:
**** Post for FREE via your newsreader at post.usenet.com **** Please help me to put some content on apache + DAV server, whas wrong? import socket, os, stat ...
1
by: Vladimir Bezugliy | last post by:
I use Socket for network communication. I listen some port. And where some computer send data to this port - I read it. But how could I recognize from what computer I get data(host name IP...
9
by: Dirk Reske | last post by:
Hello, when I send this bytes B4 43 71 40 A0 81 F3 32 C0 80 using socket.Send() the receiver receives this bytes 3F 43 71 40 3F 3F 3F 32 3F 3F why?????
4
by: Johnnie Norsworthy | last post by:
ASP.NET 2.0 How do I configure my web site to require forms authorization only for a subfolder off the root? I know how to set Web.config for forms authentication for the whole site, but I need...
1
by: Etienne Desautels | last post by:
Hi, I'm working on project where I need to grab video from an Axis IP camera. This camera send a stream of a multipart message on HTTP. I write this code (at the bottom of the message) to read...
5
by: Teo81 | last post by:
Hi. I need to send an HTTP post specifying password and username to a web server through a socket in order to login. I'm writing this program in c under a linux system. How does the request has to...
1
by: Thomas René Sidor | last post by:
Hello Having been trying to find the root of this problem for several days I now hope that you can help me. I'm implementing a distributed file system - consisting of, at the moment, a...
4
by: Patrick Altman | last post by:
I am attempting to use a HEAD request against Amazon S3 to check whether a file exists or not and if it does parse the md5 hash from the ETag in the response to verify the contents of the file so...
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: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
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...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
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
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.