Jump to content

how use serverinfo in source?


Recommended Posts

Why you want to make this jesus.. you want to hide your ip? 

RIP NETSTAT

   NETSTAT [options] [-p protocol] [interval]

   -a   Display All connections and listening ports.
   -e   Display Ethernet statistics. (may be combined with -s)
   -n   Display addresses and port numbers in Numerical form.
   -r   Display the Routing table.
   -o   Display the Owning process ID associated with each connection.
   -b   Display the exe involved in creating each connection or listening port.*
   -v   Verbose - use in conjunction with -b, to display the sequence of
        components involved for all executables.

   -p protocol
        Show only connections for the protocol specified; 
        can be any of: TCP, UDP, TCPv6 or UDPv6.  
        If used with the -s option then the following protocols
        can also be specified: IP, IPv6, ICMP,or ICMPv6. 

   -s   Display per-protocol statistics.  By default, statistics are
        shown for IP, IPv6, ICMP, ICMPv6, TCP, TCPv6, UDP, and UDPv6;
        (The v6 protocols are not available under 2k and NT4)
        The -p option can be used to display just a subset of these.

   interval     Redisplay statistics, pausing interval seconds between
                each display. (default=once only) Press CTRL+C to stop. 

 

You can not do that because there a lot the types of programs that you can find ip which are connected in launcher.

You can find ip and port's core very easy and any guy can do that.

You do not need to do that.

But this is a example ;)

		self.addr = addr # = IP
		self.port = port # = Port channel
		self.account_addr = account_addr # IP
		self.account_port = account_port # Port Auth

You need to make new function loaded from client like a net.GetIp() etc. 

int server_ip_vegas = atoi(std::string("xxx.xxx.xxx.xxx").c_str());
Link to comment
Share on other sites

1 hour ago, VegaS said:

Why you want to make this jesus.. you want to hide your ip? 

RIP NETSTAT


   NETSTAT [options] [-p protocol] [interval]

   -a   Display All connections and listening ports.
   -e   Display Ethernet statistics. (may be combined with -s)
   -n   Display addresses and port numbers in Numerical form.
   -r   Display the Routing table.
   -o   Display the Owning process ID associated with each connection.
   -b   Display the exe involved in creating each connection or listening port.*
   -v   Verbose - use in conjunction with -b, to display the sequence of
        components involved for all executables.

   -p protocol
        Show only connections for the protocol specified; 
        can be any of: TCP, UDP, TCPv6 or UDPv6.  
        If used with the -s option then the following protocols
        can also be specified: IP, IPv6, ICMP,or ICMPv6. 

   -s   Display per-protocol statistics.  By default, statistics are
        shown for IP, IPv6, ICMP, ICMPv6, TCP, TCPv6, UDP, and UDPv6;
        (The v6 protocols are not available under 2k and NT4)
        The -p option can be used to display just a subset of these.

   interval     Redisplay statistics, pausing interval seconds between
                each display. (default=once only) Press CTRL+C to stop. 

 

You can not do that because there a lot the types of programs that you can find ip which are connected in launcher.

You can find ip and port's core very easy and any guy can do that.

You do not need to do that.

But this is a example ;)


		self.addr = addr # = IP
		self.port = port # = Port channel
		self.account_addr = account_addr # IP
		self.account_port = account_port # Port Auth

You need to make new function loaded from client like a net.GetIp() etc. 


int server_ip_vegas = atoi(std::string("xxx.xxx.xxx.xxx").c_str());

thanks vegas. (bu amk egolusu da vectors gibi her koda vegas yazıyor)

  • Love 2
Link to comment
Share on other sites

  • 3 months later...
On 23.06.2016 at 11:58 PM, VegaS said:

Why you want to make this jesus.. you want to hide your ip? 

RIP NETSTAT


   NETSTAT [options] [-p protocol] [interval]

   -a   Display All connections and listening ports.
   -e   Display Ethernet statistics. (may be combined with -s)
   -n   Display addresses and port numbers in Numerical form.
   -r   Display the Routing table.
   -o   Display the Owning process ID associated with each connection.
   -b   Display the exe involved in creating each connection or listening port.*
   -v   Verbose - use in conjunction with -b, to display the sequence of
        components involved for all executables.

   -p protocol
        Show only connections for the protocol specified; 
        can be any of: TCP, UDP, TCPv6 or UDPv6.  
        If used with the -s option then the following protocols
        can also be specified: IP, IPv6, ICMP,or ICMPv6. 

   -s   Display per-protocol statistics.  By default, statistics are
        shown for IP, IPv6, ICMP, ICMPv6, TCP, TCPv6, UDP, and UDPv6;
        (The v6 protocols are not available under 2k and NT4)
        The -p option can be used to display just a subset of these.

   interval     Redisplay statistics, pausing interval seconds between
                each display. (default=once only) Press CTRL+C to stop. 

 

You can not do that because there a lot the types of programs that you can find ip which are connected in launcher.

You can find ip and port's core very easy and any guy can do that.

You do not need to do that.

But this is a example ;)


		self.addr = addr # = IP
		self.port = port # = Port channel
		self.account_addr = account_addr # IP
		self.account_port = account_port # Port Auth

You need to make new function loaded from client like a net.GetIp() etc. 


int server_ip_vegas = atoi(std::string("xxx.xxx.xxx.xxx").c_str());

Float pointing.Nice

 But please use stof inseated. http://www.cplusplus.com/reference/string/stof/

	int server_ip_vegas = std::stof("xxx.xxx.xxx.xxx");
	

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.