Results 1 to 12 of 12

Thread: what is the main function of winsock in vb.net?

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2005
    Posts
    840

    Resolved what is the main function of winsock in vb.net?

    i intend to develop a chat application similar to msn messenger......thus may implement with winsock..........

    can i know what is the main function of the winsock?
    Last edited by kenny_oh; Oct 8th, 2005 at 10:59 AM.

  2. #2
    PowerPoster
    Join Date
    Dec 2003
    Posts
    4,787

    Re: what is the main function of winsock in vb.net?

    Main function of winsock?

    To send data from socket to socket

    if you are interested in learning please see my sig there is a guide in there aimed at begginners

    http://www.vbforums.com/showthread.php?t=297308

    Pino

  3. #3
    Software Carpenter dee-u's Avatar
    Join Date
    Feb 2005
    Location
    Pinas
    Posts
    11,127

    Re: what is the main function of winsock in vb.net?

    What do you mean by "main function"? Winsock is used to establish connection between 2 or more computers and send data between them.

    BTW, Welcome to VBF!
    Regards,


    As a gesture of gratitude please consider rating helpful posts. c",)

    Some stuffs: Mouse Hotkey | Compress file using SQL Server! | WPF - Rounded Combobox | WPF - Notify Icon and Balloon | NetVerser - a WPF chatting system

  4. #4
    PowerPoster
    Join Date
    Dec 2003
    Posts
    4,787

    Re: what is the main function of winsock in vb.net?

    Whoops pino didnt read the title,


    DONT use winsock in .Net there are new classes involved which is removing the need for winsock.

    Got to this link and download the 101 vb.Net examples. In there there is an application reagrding sockects in .NET

    http://www.vbforums.com/showthread.php?t=306750

    Pino

    Winsock is used to establish connection between 2 or more computers
    Not allways UDP doesnt have a connection

  5. #5

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2005
    Posts
    840

    Re: what is the main function of winsock in vb.net?

    ohhhh.....thank u thank u!!!

    i'm new beginners of vb.net so need help from u all....wish can solve my problem

  6. #6
    Software Carpenter dee-u's Avatar
    Join Date
    Feb 2005
    Location
    Pinas
    Posts
    11,127

    Re: what is the main function of winsock in vb.net?

    Quote Originally Posted by Pino
    Not allways UDP doesnt have a connection
    Memory loss.
    Regards,


    As a gesture of gratitude please consider rating helpful posts. c",)

    Some stuffs: Mouse Hotkey | Compress file using SQL Server! | WPF - Rounded Combobox | WPF - Notify Icon and Balloon | NetVerser - a WPF chatting system

  7. #7
    PowerPoster
    Join Date
    Dec 2003
    Posts
    4,787

    Re: what is the main function of winsock in vb.net?

    Quote Originally Posted by kenny_oh
    ohhhh.....thank u thank u!!!

    i'm new beginners of vb.net so need help from u all....wish can solve my problem
    Well have a look at the example, and come back to us, if you new to .Net try some basic stuff first

    Pino

  8. #8

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2005
    Posts
    840

    Re: what is the main function of winsock in vb.net?

    the program i develop is a chat application similar to msn messenger......where pc chatting with pda!! so in the server i plan to use winsock......should i continue use the winsock?

    socket....macam sutiable for intranet woh(am i right?).......

  9. #9

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2005
    Posts
    840

    Re: what is the main function of winsock in vb.net?

    the winsonck is quite similar to socket...........socket and winsock, which one is better?

  10. #10
    PowerPoster
    Join Date
    Dec 2003
    Posts
    4,787

    Re: what is the main function of winsock in vb.net?

    socket, its more complex, winsock is being phased out

  11. #11

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2005
    Posts
    840

    Re: what is the main function of winsock in vb.net?

    the vb.net winsock work same as vb winsock? can the dataarrival method receive the data from client and send it to another client?

  12. #12
    PowerPoster
    Join Date
    Dec 2003
    Posts
    4,787

    Re: what is the main function of winsock in vb.net?

    yes it works the same, but .Net isnt designed to ahndle winsock, winsock doesnt coem with .Net adn you will only have it installed if you used Vb 6

    Steer away from it

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width