Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

.NET 

Tcp Socket

hello guys i hope ur good .

i have some questions i want to know about it

first of all : i have created a simple socket for my new rat . it receive and send data successfully . but im having a trouble how can i handle alot of clients .
how i can give each one an ID .. i tried to use
dim ID as List(Of TcpClient) = new List(Of TcpClient)

and when i accept a tcpclient i add the client in the list
ID.ADD(Connection)

but this is not enough . how can i get the Id or the index number from the list so that i can handle clients so easy . and send for each client by the ID .
i hope u guys got my problem and my question.
Or just make a Client model and put the connection object in there..? This way you can add a lot more info to an individual client. You can then use LINQ or iterate over the collection to grab the items with the indices you want.

It seems you don't have much knowledge in programming so I suggest you refrain from creating a RAT anytime soon.
(Feb 6, 2017 10:19 AM)Ninja Wrote:  Or just make a Client model and put the connection object in there..?

It seems you don't have much knowledge in programming so I suggest you refrain from creating a RAT anytime soon.


i do have knowledge in programming
and my main rat is already done . but i wanted to create another socket
my main rat is using a Socket class not tcpclient .. so i wanted to create a new socket using TcpClient . and i found a problem how to add a Client in a List and get the Client from the list by the id or index number when ever i want .
(Feb 6, 2017 10:25 AM)xxdarklord65xx Wrote:  i do have knowledge in programming
and my main rat is already done . but i wanted to create another socket
my main rat is using a Socket class not tcpclient .. so i wanted to create a new socket using TcpClient . and i found a problem how to add a Client in a List and get the Client from the list by the id or index number when ever i want .

I can assure you that that problem is the easiest to solve. And I can tell you don't have much knowledge in programming. I am wondering how much of your 'main rat' you copied.
(Feb 6, 2017 10:30 AM)Ninja Wrote:  I can assure you that that problem is the easiest to solve. And I can tell you don't have much knowledge in programming. I am wondering how much of your 'main rat' you copied.

lol dont judge while u dont know anything about me .
i know its easy i did 50% of it . but im just confused how to get the id or index from the collection or the list . so if u flame too much no need to comment maybe others can help . also ur saying its so easy . ur just coming here to comment and flame and get out . so please Quit Hf .


(Feb 6, 2017 10:30 AM)Ninja Wrote:  I can assure you that that problem is the easiest to solve. And I can tell you don't have much knowledge in programming. I am wondering how much of your 'main rat' you copied.

Public Clients As New List(Of Integer)
its really easy to handle with integers ..

SKT += 1
clients.add(skt)

so ur adding an integer which is really izi ..also im just giving the shortest way if ur good in programming u will know what i mean
anyways . now im doing a ( Public Clients As New List(Of TcpClient)
which really confused me .. i dont want CODES i want ideas or hints thats it !!
(Feb 6, 2017 10:31 AM)xxdarklord65xx Wrote:  lol dont judge while u dont know anything about me .
i know its easy i did 50% of it . but im just confused how to get the id or index from the collection or the list . so if u flame too much no need to comment maybe others can help . also ur saying its so easy . ur just coming here to comment and flame and get out . so please Quit Hf .

I cant believe someone can be this stupid. Besides, if you read my first post I already gave you the solution.
(Feb 6, 2017 10:40 AM)Ninja Wrote:  I cant believe someone can be this stupid. Besides, if you read my first post I already gave you the solution.

ur solution is insulting i cant see any solution .. idk how the forum is allowing ppl like u .. NOTE : remove ur fake experience 3 years programming . it just makes me laugh on u . :(
(Feb 6, 2017 10:43 AM)xxdarklord65xx Wrote:  ur solution is insulting i cant see any solution .. idk how the forum is allowing ppl like u .. NOTE : remove ur fake experience 3 years programming . it just makes me laugh on u . :(

I edited it a bit. That is the most I am helping you.

And thanks for making me laugh.

EDIT:
[Image: DwZga04.png]

oh boy...
(Feb 6, 2017 10:45 AM)Ninja Wrote:  I edited it a bit. That is the most I am helping you.

And thanks for making me laugh.

i solved it ! . i made a new collection and i have added the client and key is the integer so by that i can get the client by the key so easily
and try to be more good with people before judging there skills without knowing them.
what about List IndexOf Client
[Image: bitcoin.png] Be Nice For Once 15hVUVz7xA4kazHdk2BuErENGCskVwjYXP
(Feb 6, 2017 11:20 AM)HFDone Wrote:  what about List IndexOf Client

true . i was thinking about it .
but i made a new function to get the client
the Collection Class offers an element called " Item " . which u can get the item by the index or the key
for example

Return Client.Item(0 / key ).ToString()
(Feb 6, 2017 10:53 AM)xxdarklord65xx Wrote:  i solved it ! . i made a new collection and i have added the client and key is the integer so by that i can get the client by the key so easily
and try to be more good with people before judging there skills without knowing them.

..?

It seems like every part where I help you you purposely ignore and the parts where I scold at you you can actually understand. I helped you twice, even elaborated my solution to your problem more for you, and still you are the one to give me shit more than I give you shit.
(Feb 6, 2017 11:24 AM)Ninja Wrote:  ..?

It seems like every part where I help you you purposely ignore and the parts where I scold at you you can actually understand. I helped you twice, even elaborated my solution to your problem more for you, and still you are the one to give me shit more than I give you shit.


lsn .. stop EDITING UR ANSWERS POST ..
second thing
It seems you don't have much knowledge in programming so I suggest you refrain from creating a RAT anytime soon.
i really dont know who said that ?
like ur the only one here who got the knowledge .. who r u to judge and say u dont have much programming knowledge ..

I can assure you that that problem is the easiest to solve. And I can tell you don't have much knowledge in programming. I am wondering how much of your 'main rat' you copied.

insulting and flaming .. is this the way to help ? i just asked a question .. and u dont have the right to flame ,insult and judge my main rat copied .. im assure ur talking about ur self .

I cant believe someone can be this stupid. Besides, if you read my first post I already gave you the solution.

at last .. no one here is the stupid only you
and am again saying stop editing ur posts and Stop trying to act like helpful while ur a person who is a arrogance .. grow up my mate
(Feb 6, 2017 11:35 AM)xxdarklord65xx Wrote:  lsn .. stop EDITING UR ANSWERS POST ..
second thing
It seems you don't have much knowledge in programming so I suggest you refrain from creating a RAT anytime soon.
i really dont know who said that ?
like ur the only one here who got the knowledge .. who r u to judge and say u dont have much programming knowledge ..

I can assure you that that problem is the easiest to solve. And I can tell you don't have much knowledge in programming. I am wondering how much of your 'main rat' you copied.

insulting and flaming .. is this the way to help ? i just asked a question .. and u dont have the right to flame ,insult and judge my main rat copied .. im assure ur talking about ur self .

I cant believe someone can be this stupid. Besides, if you read my first post I already gave you the solution.

at last .. no one here is the stupid only you
and am again saying stop editing ur posts and Stop trying to act like helpful while ur a person who is a arrogance .. grow up my mate

You cant even retrieve items from a collection yet claim to be able to program a RAT?

That is like saying you can do a race in a car without operating the gas pedal.
(Feb 6, 2017 11:54 AM)Ninja Wrote:  You cant even retrieve items from a collection yet claim to be able to program a RAT?

That is like saying you can do a race in a car without operating the gas pedal.


dude remove ur experience thing
To retrieve an item from a collection
Use the Item property and specify the item by either its Index or its Key.
from Microsoft .


Possibly Related Threads...
Thread / Author Replies Views Last Post
[C#] by itsnodeFeb 4, 2018 12:21 AM 17 1,216 Feb 4, 2018 12:21 AM
Last Post: gungunfebrianza
[.NET] by DragonHunterJan 28, 2016 04:41 PM 69 7,528 Jan 28, 2016 04:41 PM
Last Post: adenfr
[Python] by ๖ۣۜEмотιν∆тзď .Nov 28, 2015 03:37 AM 5 337 Nov 28, 2015 03:37 AM
Last Post: Pentahedron