473,756 Members | 6,661 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

getting client ip in sock-client on server

The code of classes given below is for server to which clients connect
i want to get ip address of client which has connected
pls help how can i get
//listen class
public class listen
{
TcpListener server=null;
Thread tcpthread=null;
client[] cl=new client[3];

public listen()
{
//
// TODO: Add constructor logic here
//
}
public void startlisten()
{
Int32 port = 3310;
IPAddress localAddr = IPAddress.Parse ("192.168.0.6") ;

// TcpListener server = new TcpListener(por t);
server = new TcpListener(loc alAddr, port);

// Start listening for client requests.
server.Start();
// Enter the listening loop.
for(int i=0;i<3;i++)
{
cl[i]=new client();
cl[i].status=true;
}

Boolean flag;
while(true)
{
try
{
flag=false;
// Perform a blocking call to accept requests.
// You could also user server.AcceptSo cket() here.
for(int i=0;i<3;i++)
{
if(cl[i].status==true)
{
cl[i]= new client(server.A cceptTcpClient( ));
tcpthread=new Thread(new ThreadStart(cl[i].getClient));
tcpthread.Start ();
flag=true;
break;
}
}
if(flag!=true)
{
//MessageBox.Show ("All Clients Busy");

}


}
catch(Exception se)
{

}
}

}
public void stoplisten()
{
server.Stop();
}
}


//client class
public class client
{
TcpClient tcpClient;
public Boolean status;
// Buffer for reading data
Byte[] bytes = new Byte[256];
String data = null;
IPAddress localAddr = IPAddress.Parse ("192.168.0.6") ;

public client()
{ //
// TODO: Add constructor logic here
//
//status=true;
}
public client(TcpClien t Client)
{
tcpClient =Client;
//
// TODO: Add constructor logic here
//
status=false;
}
public void getClient()
{
try
{
data = null;
// Get a stream object for reading and writing
NetworkStream stream = tcpClient.GetSt ream();
int i;
// Loop to receive all the data sent by the client.
while((i = stream.Read(byt es, 0, bytes.Length))! =0)
{
// Translate data bytes to a ASCII string.
data = System.Text.Enc oding.ASCII.Get String(bytes, 0, i);
// Process the data sent by the client.
string replyMsg = data;
clamdCommand x=new clamdCommand();
replyMsg=x.Comm and(replyMsg);
int
lowerport=int.P arse(Configurat ionSettings.App Settings.Get("l owerport"));
int
upperport=int.P arse(Configurat ionSettings.App Settings.Get("u pperport"));
for(int y=lowerport;y<u pperport;y++)
{
if(replyMsg==y. ToString())
{
replyMsg=replyM sg+"\r\n\0";
byte[] msg = System.Text.Enc oding.ASCII.Get Bytes(replyMsg) ;
// Send back a response.
stream.Write(ms g, 0, msg.Length);
TcpListener listener=new TcpListener(loc alAddr,y);
listener.Start( );
// Buffer for reading data
Byte[] bs = new Byte[256];
String ds = null;
// Enter the listening loop.
while(true)
{ // Perform a blocking call to accept requests.
// You could also user server.AcceptSo cket() here.
TcpClient bufferclient = listener.Accept TcpClient();
ds = null;
// Get a stream object for reading and writing
NetworkStream strm = bufferclient.Ge tStream();
int l;
// Loop to receive all the data sent by the client.
while((l = strm.Read(bs, 0, bs.Length))!=0)
{ ds = System.Text.Enc oding.ASCII.Get String(bs, 0, l);
// Process the data sent by the client.
clamresults obj=new clamresults();
ds=obj.loadData base("STREAM",d s);

replyMsg=ds;
bufferclient.Cl ose();
break;
}
listener.Stop() ;
x.freeport(y-lowerport);
break;
} break;
}

}
replyMsg=replyM sg+"\r\n\0";
byte[] msgs = System.Text.Enc oding.ASCII.Get Bytes(replyMsg) ;
// Send back a response.
stream.Write(ms gs, 0, msgs.Length);

}
}
catch(Exception se)
{
MessageBox.Show (se.ToString()) ;

}
// Shutdown and end connection
finally
{
tcpClient.Close ();
status=true;
}
}

}
Jan 19 '06 #1
14 4449
DNS.Resolve()
Jan 19 '06 #2
will it give ip address of client
i want to fetch ip address on server of client which is accepted or
connected
"Marko Becirevic" <ma************ *****@inMail24. com> wrote in message
news:dq******** **@sunce.iskon. hr...
DNS.Resolve()

Jan 19 '06 #3

"Ankit Aneja" <ef*****@newsgr oups.nospam> wrote in message
news:Oz******** ******@TK2MSFTN GP15.phx.gbl...
will it give ip address of client
i want to fetch ip address on server of client which is accepted or
connected

....

No, it won't. I can't find anything in TcpClient documentation (fw 1.1)
class that would reveal client's IP address (but I may be wrong here) . If
you can use Socket class, then you can use RemoteEndPoint property.

Regards,
Goran
Jan 19 '06 #4

No, it won't. I can't find anything in TcpClient documentation (fw 1.1)
class that would reveal client's IP address (but I may be wrong here)

can i get it using framework 2.0
pls help


"Goran Sliskovic" <gs******@yahoo .com> wrote in message
news:e0******** ******@TK2MSFTN GP10.phx.gbl...

"Ankit Aneja" <ef*****@newsgr oups.nospam> wrote in message
news:Oz******** ******@TK2MSFTN GP15.phx.gbl...
will it give ip address of client
i want to fetch ip address on server of client which is accepted or
connected

...

No, it won't. I can't find anything in TcpClient documentation (fw 1.1)
class that would reveal client's IP address (but I may be wrong here) . If
you can use Socket class, then you can use RemoteEndPoint property.

Regards,
Goran

Jan 19 '06 #5
can i get remote endpoint in TcpClient if i use framework2.0
"Goran Sliskovic" <gs******@yahoo .com> wrote in message
news:e0******** ******@TK2MSFTN GP10.phx.gbl...

"Ankit Aneja" <ef*****@newsgr oups.nospam> wrote in message
news:Oz******** ******@TK2MSFTN GP15.phx.gbl...
will it give ip address of client
i want to fetch ip address on server of client which is accepted or
connected

...

No, it won't. I can't find anything in TcpClient documentation (fw 1.1)
class that would reveal client's IP address (but I may be wrong here) . If
you can use Socket class, then you can use RemoteEndPoint property.

Regards,
Goran

Jan 19 '06 #6
Hi Ankit,

In this current situation, I suggest you could try to invoke getpeername /
getsockname using PInvoke mechanism. On a connected socket, getpeername
will give you the remote address and getsockname will give you the local
address for the connection. We could use Socket.Handle Property to get the
socket handle and pass it into these API as parameters.

I hope the above inforamtion is helpful for you.If you have any questions
or concerns, please let me know. Thanks again and have a nice day!

Best Regards,

Terry Fei[MSFT]
Microsoft Community Support
Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
Best Regards,

--------------------
From: "Ankit Aneja" <ef*****@newsgr oups.nospam>
References: <uq************ **@TK2MSFTNGP14 .phx.gbl> <dq**********@s unce.iskon.hr> <Oz************ **@TK2MSFTNGP15 .phx.gbl>
<e0************ **@TK2MSFTNGP10 .phx.gbl>Subject: Re: getting client ip in sock-client on server
Date: Thu, 19 Jan 2006 19:18:12 +0530
Lines: 30
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
Message-ID: <Ox************ **@TK2MSFTNGP09 .phx.gbl>
Newsgroups: microsoft.publi c.dotnet.langua ges.csharp
NNTP-Posting-Host: dsl-del-dynamic-067.85.246.61.t ouchtelindia.ne t 61.246.85.67Path: TK2MSFTNGXA02.p hx.gbl!TK2MSFTN GP08.phx.gbl!TK 2MSFTNGP09.phx. gbl
Xref: TK2MSFTNGXA02.p hx.gbl microsoft.publi c.dotnet.langua ges.csharp:3796 84
X-Tomcat-NG: microsoft.publi c.dotnet.langua ges.csharp
No, it won't. I can't find anything in TcpClient documentation (fw 1.1)
class that would reveal client's IP address (but I may be wrong here)

can i get it using framework 2.0
pls help


"Goran Sliskovic" <gs******@yahoo .com> wrote in message
news:e0******* *******@TK2MSFT NGP10.phx.gbl.. .

"Ankit Aneja" <ef*****@newsgr oups.nospam> wrote in message
news:Oz******** ******@TK2MSFTN GP15.phx.gbl...
will it give ip address of client
i want to fetch ip address on server of client which is accepted or
connected

...

No, it won't. I can't find anything in TcpClient documentation (fw 1.1)
class that would reveal client's IP address (but I may be wrong here) . If you can use Socket class, then you can use RemoteEndPoint property.

Regards,
Goran



Jan 20 '06 #7
is there anything in framework 2.0
to get the remote address
""TerryFei" " <v-******@online.m icrosoft.com> wrote in message
news:9G******** ******@TK2MSFTN GXA02.phx.gbl.. .
Hi Ankit,

In this current situation, I suggest you could try to invoke getpeername /
getsockname using PInvoke mechanism. On a connected socket, getpeername
will give you the remote address and getsockname will give you the local
address for the connection. We could use Socket.Handle Property to get the
socket handle and pass it into these API as parameters.

I hope the above inforamtion is helpful for you.If you have any questions
or concerns, please let me know. Thanks again and have a nice day!

Best Regards,

Terry Fei[MSFT]
Microsoft Community Support
Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
Best Regards,

--------------------
From: "Ankit Aneja" <ef*****@newsgr oups.nospam>
References: <uq************ **@TK2MSFTNGP14 .phx.gbl>

<dq**********@s unce.iskon.hr> <Oz************ **@TK2MSFTNGP15 .phx.gbl>
<e0************ **@TK2MSFTNGP10 .phx.gbl>
Subject: Re: getting client ip in sock-client on server
Date: Thu, 19 Jan 2006 19:18:12 +0530
Lines: 30
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
Message-ID: <Ox************ **@TK2MSFTNGP09 .phx.gbl>
Newsgroups: microsoft.publi c.dotnet.langua ges.csharp
NNTP-Posting-Host: dsl-del-dynamic-067.85.246.61.t ouchtelindia.ne t

61.246.85.67
Path: TK2MSFTNGXA02.p hx.gbl!TK2MSFTN GP08.phx.gbl!TK 2MSFTNGP09.phx. gbl
Xref: TK2MSFTNGXA02.p hx.gbl
microsoft.pub lic.dotnet.lang uages.csharp:37 9684
X-Tomcat-NG: microsoft.publi c.dotnet.langua ges.csharp
No, it won't. I can't find anything in TcpClient documentation (fw 1.1)
class that would reveal client's IP address (but I may be wrong here)

can i get it using framework 2.0
pls help


"Goran Sliskovic" <gs******@yahoo .com> wrote in message
news:e0****** ********@TK2MSF TNGP10.phx.gbl. ..

"Ankit Aneja" <ef*****@newsgr oups.nospam> wrote in message
news:Oz******** ******@TK2MSFTN GP15.phx.gbl...
will it give ip address of client
i want to fetch ip address on server of client which is accepted or
connected
...

No, it won't. I can't find anything in TcpClient documentation (fw 1.1)
class that would reveal client's IP address (but I may be wrong here) . If you can use Socket class, then you can use RemoteEndPoint property.

Regards,
Goran


Jan 20 '06 #8
Hi Ankit,
Thanks for your quick response!
is there anything in framework 2.0 to get the remote address? Based on my knowledge, there is no this feature in framework 2.0. But I'll
consult this question for the relevant team. If I have an easier way to
achieve this goal later, I'll inform of you as soon as possible.
Thanks for your understanding!

Best Regards,

Terry Fei[MSFT]
Microsoft Community Support
Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

--------------------
From: "Ankit Aneja" <ef*****@newsgr oups.nospam>
References: <uq************ **@TK2MSFTNGP14 .phx.gbl> <dq**********@s unce.iskon.hr> <Oz************ **@TK2MSFTNGP15 .phx.gbl>
<e0************ **@TK2MSFTNGP10 .phx.gbl>
<Ox************ **@TK2MSFTNGP09 .phx.gbl>
<9G************ **@TK2MSFTNGXA0 2.phx.gbl>Subject: Re: getting client ip in sock-client on server
Date: Fri, 20 Jan 2006 10:47:03 +0530
Lines: 81
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
Message-ID: <uA************ *@tk2msftngp13. phx.gbl>
Newsgroups: microsoft.publi c.dotnet.langua ges.csharp
NNTP-Posting-Host: dsl-del-dynamic-130.84.246.61.t ouchtelindia.ne t 61.246.84.130Path: TK2MSFTNGXA02.p hx.gbl!TK2MSFTN GP08.phx.gbl!tk 2msftngp13.phx. gbl
Xref: TK2MSFTNGXA02.p hx.gbl microsoft.publi c.dotnet.langua ges.csharp:3799 24
X-Tomcat-NG: microsoft.publi c.dotnet.langua ges.csharp

is there anything in framework 2.0
to get the remote address
""TerryFei" " <v-******@online.m icrosoft.com> wrote in message
news:9G******* *******@TK2MSFT NGXA02.phx.gbl. ..
Hi Ankit,

In this current situation, I suggest you could try to invoke getpeername

/ getsockname using PInvoke mechanism. On a connected socket, getpeername
will give you the remote address and getsockname will give you the local
address for the connection. We could use Socket.Handle Property to get the socket handle and pass it into these API as parameters.

I hope the above inforamtion is helpful for you.If you have any questions
or concerns, please let me know. Thanks again and have a nice day!

Best Regards,

Terry Fei[MSFT]
Microsoft Community Support
Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
Best Regards,

--------------------
From: "Ankit Aneja" <ef*****@newsgr oups.nospam>
References : <uq************ **@TK2MSFTNGP14 .phx.gbl>

<dq**********@s unce.iskon.hr> <Oz************ **@TK2MSFTNGP15 .phx.gbl>
<e0************ **@TK2MSFTNGP10 .phx.gbl>
Subject: Re: getting client ip in sock-client on server
Date: Thu, 19 Jan 2006 19:18:12 +0530
Lines: 30
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
Message-ID: <Ox************ **@TK2MSFTNGP09 .phx.gbl>
Newsgroups : microsoft.publi c.dotnet.langua ges.csharp
NNTP-Posting-Host: dsl-del-dynamic-067.85.246.61.t ouchtelindia.ne t

61.246.85.67
Path: TK2MSFTNGXA02.p hx.gbl!TK2MSFTN GP08.phx.gbl!TK 2MSFTNGP09.phx. gbl
Xref: TK2MSFTNGXA02.p hx.gbl
microsoft.pu blic.dotnet.lan guages.csharp:3 79684
X-Tomcat-NG: microsoft.publi c.dotnet.langua ges.csharp
No, it won't. I can't find anything in TcpClient documentation (fw 1.1)
class that would reveal client's IP address (but I may be wrong here)

can i get it using framework 2.0
pls help


"Goran Sliskovic" <gs******@yahoo .com> wrote in message
news:e0***** *********@TK2MS FTNGP10.phx.gbl ...

"Ankit Aneja" <ef*****@newsgr oups.nospam> wrote in message
news:Oz******** ******@TK2MSFTN GP15.phx.gbl...
> will it give ip address of client
> i want to fetch ip address on server of client which is accepted or
> connected
...

No, it won't. I can't find anything in TcpClient documentation (fw 1.1)
class that would reveal client's IP address (but I may be wrong here) .

If
you can use Socket class, then you can use RemoteEndPoint property.

Regards,
Goran




Jan 20 '06 #9
Thanks Sir
will wait for your reply
""TerryFei" " <v-******@online.m icrosoft.com> wrote in message
news:7Q******** ******@TK2MSFTN GXA02.phx.gbl.. .
Hi Ankit,
Thanks for your quick response!
is there anything in framework 2.0 to get the remote address? Based on my knowledge, there is no this feature in framework 2.0. But I'll
consult this question for the relevant team. If I have an easier way to
achieve this goal later, I'll inform of you as soon as possible.
Thanks for your understanding!

Best Regards,

Terry Fei[MSFT]
Microsoft Community Support
Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

--------------------
From: "Ankit Aneja" <ef*****@newsgr oups.nospam>
References: <uq************ **@TK2MSFTNGP14 .phx.gbl>

<dq**********@s unce.iskon.hr> <Oz************ **@TK2MSFTNGP15 .phx.gbl>
<e0************ **@TK2MSFTNGP10 .phx.gbl>
<Ox************ **@TK2MSFTNGP09 .phx.gbl>
<9G************ **@TK2MSFTNGXA0 2.phx.gbl>
Subject: Re: getting client ip in sock-client on server
Date: Fri, 20 Jan 2006 10:47:03 +0530
Lines: 81
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
Message-ID: <uA************ *@tk2msftngp13. phx.gbl>
Newsgroups: microsoft.publi c.dotnet.langua ges.csharp
NNTP-Posting-Host: dsl-del-dynamic-130.84.246.61.t ouchtelindia.ne t

61.246.84.130
Path: TK2MSFTNGXA02.p hx.gbl!TK2MSFTN GP08.phx.gbl!tk 2msftngp13.phx. gbl
Xref: TK2MSFTNGXA02.p hx.gbl
microsoft.pub lic.dotnet.lang uages.csharp:37 9924
X-Tomcat-NG: microsoft.publi c.dotnet.langua ges.csharp

is there anything in framework 2.0
to get the remote address
""TerryFei" " <v-******@online.m icrosoft.com> wrote in message
news:9G****** ********@TK2MSF TNGXA02.phx.gbl ...
Hi Ankit,

In this current situation, I suggest you could try to invoke getpeername

/ getsockname using PInvoke mechanism. On a connected socket, getpeername
will give you the remote address and getsockname will give you the local
address for the connection. We could use Socket.Handle Property to get the socket handle and pass it into these API as parameters.

I hope the above inforamtion is helpful for you.If you have any
questions
or concerns, please let me know. Thanks again and have a nice day!

Best Regards,

Terry Fei[MSFT]
Microsoft Community Support
Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
Best Regards,

--------------------
From: "Ankit Aneja" <ef*****@newsgr oups.nospam>
Reference s: <uq************ **@TK2MSFTNGP14 .phx.gbl>
<dq**********@s unce.iskon.hr> <Oz************ **@TK2MSFTNGP15 .phx.gbl>
<e0************ **@TK2MSFTNGP10 .phx.gbl>
Subject: Re: getting client ip in sock-client on server
Date: Thu, 19 Jan 2006 19:18:12 +0530
Lines: 30
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
Message-ID: <Ox************ **@TK2MSFTNGP09 .phx.gbl>
Newsgroup s: microsoft.publi c.dotnet.langua ges.csharp
NNTP-Posting-Host: dsl-del-dynamic-067.85.246.61.t ouchtelindia.ne t
61.246.85.67
Path: TK2MSFTNGXA02.p hx.gbl!TK2MSFTN GP08.phx.gbl!TK 2MSFTNGP09.phx. gbl
Xref: TK2MSFTNGXA02.p hx.gbl
microsoft.p ublic.dotnet.la nguages.csharp: 379684
X-Tomcat-NG: microsoft.publi c.dotnet.langua ges.csharp
No, it won't. I can't find anything in TcpClient documentation (fw 1.1)
class that would reveal client's IP address (but I may be wrong here)

can i get it using framework 2.0
pls help


"Goran Sliskovic" <gs******@yahoo .com> wrote in message
news:e0**** **********@TK2M SFTNGP10.phx.gb l...
>
> "Ankit Aneja" <ef*****@newsgr oups.nospam> wrote in message
> news:Oz******** ******@TK2MSFTN GP15.phx.gbl...
>> will it give ip address of client
>> i want to fetch ip address on server of client which is accepted or
>> connected
> ...
>
> No, it won't. I can't find anything in TcpClient documentation (fw
> 1.1)
> class that would reveal client's IP address (but I may be wrong here)
> .
If
> you can use Socket class, then you can use RemoteEndPoint property.
>
> Regards,
> Goran
>
>


Jan 20 '06 #10

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

Similar topics

0
2318
by: MJL | last post by:
This is a mysql/php question (but a little more on the mysql side.) The two are so closely related these days, I thought it would be ok to ask here. I installed on my Suse Linux system mysql 4.0 using an rpm. I also installed all of the appropriate PHP 4.3 and Apache 2.0 rpms. I set my socket path in my.cnf to /tmp/mysql.sock. I then, just to be safe and thorough, copied this my.cnf to ~/.my.cnf and to the /var/lib/mysql directory...
0
1862
by: Oliver Etzel - GoodnGo.COM | last post by:
Hello all, after Installing mysql I started the mysql daemon.. The I tried to log in to my mysql database and got the message could not find mysql.sock in /tmp. In the mysql-configuration file /etc/my.cnf (in my redhat system 8.0) I changed the place for the socket file from "socket=/var/lib/mysql/mysql.sock" to "socket=/tmp/mysql.sock".
0
1457
by: Oliver Etzel - GoodnGo.COM | last post by:
Hello all, after Installing mysql I started the mysql daemon.. The I tried to log in to my mysql database and got the message could not find mysql.sock in /tmp. In the mysql-configuration file /etc/my.cnf (in my redhat system 8.0) I changed the place for the socket file from "socket=/var/lib/mysql/mysql.sock" to "socket=/tmp/mysql.sock".
0
1451
by: Oliver Etzel - GoodnGo.COM | last post by:
Hello all, after Installing mysql I started the mysql daemon.. Then I tried to log in to my mysql database and got the message could not find mysql.sock in /tmp. In the mysql-configuration file /etc/my.cnf (in my redhat system 8.0) I changed the place for the socket file from "socket=/var/lib/mysql/mysql.sock" to "socket=/tmp/mysql.sock". That doesn´t work.
1
3891
by: JW | last post by:
Hi all, I was fine running mysql, and for some reason, after the most recent reboot of my machine, I get the following error and I try the following subsequent commands to try to figure things out: # mysql ERROR 2002: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) # mysqld_safe
0
1560
by: DevBoy | last post by:
I installed the base MySQL 4.0 with Suse Linux and I try and start it and I get anb issue with the fact that mysql.sock file does not exist in /etc..../mysql/mysql.sock I created a file and made sure the owner is mysql. Can anyone share a template for what this file should look like?
5
2647
by: OZ | last post by:
the serproxy claim itself a multi-thread proxy thing. I have sent email to write the original writer and there is no replay after 3 weeks. my configuration and setting are good. http://www.lspace.nildram.co.uk/freeware.html I installed it in rh 9.0 I found it is single user only.
1
1814
by: vabh | last post by:
Help from there, i want the IP Address of all computers which are connected in LAN with me. Its really urgent for me. I using one kind of coding which returns me IP Address of only one computer, but when i enter a Computer Name. The source code of that one is as follows: ******************************************************************************************** Dim s1, s2 As String Dim IPHost As IPHostEntry =...
2
2650
by: Roopesh | last post by:
Hi, I am using poplib's retr() to fetch mails from my gmail account. It works fine, in some cases it gets stuck inside the retr() method and does not come out. From the logs I could find that when retr() is called, it stops executing further statements, nor does it throw an exceptions but simply stops. My code is roughly like the foll:
185
7093
by: jacob navia | last post by:
Hi We are rewriting the libc for the 64 bit version of lcc-win and we have added a new field in the FILE structure: char *FileName; fopen() will save the file name and an accessor function will return the file name given a FILE *. Questions: What would be the best name for this function?
0
9456
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10040
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9873
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9846
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9713
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8713
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5304
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3806
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3359
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.