Click here to Skip to main content
15,881,938 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralLogging into Admin Account from limited user account. Pin
23-Oct-04 16:43
suss23-Oct-04 16:43 
GeneralRe: Logging into Admin Account from limited user account. Pin
Dave Kreskowiak24-Oct-04 14:53
mveDave Kreskowiak24-Oct-04 14:53 
GeneralRe: Logging into Admin Account from limited user account. Pin
Mekong River24-Oct-04 15:09
Mekong River24-Oct-04 15:09 
GeneralRe: Logging into Admin Account from limited user account. Pin
Dave Kreskowiak25-Oct-04 2:10
mveDave Kreskowiak25-Oct-04 2:10 
GeneralRe: Logging into Admin Account from limited user account. Pin
Member 145028524-Oct-04 17:08
Member 145028524-Oct-04 17:08 
GeneralRe: Logging into Admin Account from limited user account. Pin
Dave Kreskowiak25-Oct-04 2:11
mveDave Kreskowiak25-Oct-04 2:11 
GeneralPeep2peer, choose ports for TCP Pin
[DK]KiloDunse23-Oct-04 14:30
[DK]KiloDunse23-Oct-04 14:30 
GeneralRe: Peep2peer, choose ports for TCP Pin
Fade (Amit BS)24-Oct-04 18:58
Fade (Amit BS)24-Oct-04 18:58 
First of all, Don't Panic Smile | :)

Basicly what you need to do is pretty simple.

First, decide on one port number (for instance 7070 you mentioned), now both peers listen on that port, and both peers know that they are both listening on that port.

When Peer A wants to send a file to Peer B, it creates a new socket (do not bind that socket to ANY port) and connects it to Peer B (by the known port).
Now- Peer B will receive a 'Connection Request', and creates a new socket to accept the new connection.
At this point, Peer A can send asorted information about the file it want to send like size, file name hash etc. and then begin to send the file.

Because this is all happening on different sockets than the listening ones, both peers can initiate any additional number of connection as you wish (well not any number of connections but a reasonable one Smile | :) )

That's it, note that Peer A can also connect and Request a file from Peer B, the possibilities are endless.

I can send you an example project i wrote with all this connection creation working,
i will post it with an article, but it will take some time as i'm on a tight schedule now and can't write the article now.

Let me know if you want the example.

Fade (Amit BS)
GeneralRe: Peep2peer, choose ports for TCP Pin
[DK]KiloDunse25-Oct-04 3:25
[DK]KiloDunse25-Oct-04 3:25 
GeneralSending Emails Using VB.Net Pin
Modern_night23-Oct-04 12:42
Modern_night23-Oct-04 12:42 
GeneralRe: Sending Emails Using VB.Net Pin
Kumar0925-Oct-04 4:35
Kumar0925-Oct-04 4:35 
GeneralRe: Sending Emails Using VB.Net Pin
Modern_night26-Oct-04 23:02
Modern_night26-Oct-04 23:02 
GeneralHelp making a listbox appear when I write something Pin
Rylogy23-Oct-04 4:57
Rylogy23-Oct-04 4:57 
GeneralRe: Help making a listbox appear when I write something Pin
MohammadAmiry23-Oct-04 22:13
MohammadAmiry23-Oct-04 22:13 
GeneralRe: Help making a listbox appear when I write something Pin
Rylogy24-Oct-04 4:00
Rylogy24-Oct-04 4:00 
GeneralRe: Help making a listbox appear when I write something Pin
Dave Kreskowiak24-Oct-04 14:46
mveDave Kreskowiak24-Oct-04 14:46 
GeneralRe: Help making a listbox appear when I write something Pin
Rylogy24-Oct-04 14:47
Rylogy24-Oct-04 14:47 
GeneralRe: Help making a listbox appear when I write something Pin
Fade (Amit BS)24-Oct-04 19:10
Fade (Amit BS)24-Oct-04 19:10 
GeneralRe: Help making a listbox appear when I write something Pin
Rylogy25-Oct-04 11:12
Rylogy25-Oct-04 11:12 
GeneralHelp modifying text Pin
Rylogy23-Oct-04 3:06
Rylogy23-Oct-04 3:06 
GeneralRe: Help modifying text Pin
Dennis C. Dietrich23-Oct-04 4:21
Dennis C. Dietrich23-Oct-04 4:21 
GeneralRe: Help modifying text Pin
Rylogy23-Oct-04 4:26
Rylogy23-Oct-04 4:26 
GeneralRe: Help modifying text Pin
Rylogy23-Oct-04 4:33
Rylogy23-Oct-04 4:33 
GeneralRe: Help modifying text Pin
Rylogy23-Oct-04 4:39
Rylogy23-Oct-04 4:39 
GeneralHalt Sequence Pin
Red Sunday22-Oct-04 11:28
Red Sunday22-Oct-04 11:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.