CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 1999
    Posts
    36

    Multicastsocket , Why can't I new a instance of Multicastsocket ?



    Dear Sir:

    I want to create a multicast socket, and do the following:

    MulticastSocket s;

    try

    {

    s= new Multicastsocket(6789); //create line

    }

    catch(IOException e)

    {

    return;

    }

    but this program can't create the Socket correctly, and always trace into

    Java SDK

    " public StringBuffer()

    {

    this(16);

    }

    "

    Who can give me some advice?





  2. #2
    Join Date
    Jul 2000
    Posts
    156

    Re: Multicastsocket , Why can't I new a instance of Multicastsocket ?

    what is your multicast IP address? where is the code for your instance joining the multicast group?


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

Featured