Originally posted by: gheo
Hi,
what about multicasting in visual basic?
It is not difficult to send multicast datagrams from udp sockets, but receiving them is not possible, or it is possible if after the binding of the socket to an interface you join a group from that interface. What you need is an api function to do this, in a dll...how can we use your hard work to do it?
Thanks a lot
Gheo
Originally posted by: RWB
I have a program that works great using the CMulticast class when the computers on the network are Windows 98 machines. But I am trying to use my program on a Windows 2000 machine and having lots of problems with this class. I can receive messages on the Windows 2000 machine, but cannot seem to send the messages although I don't receive any error codes. Any ideas???
ReplyOriginally posted by: Steven
Hi:
Does there any one know how this program print out
the message on the window? If I try to put some fuction
in OnReceive(), it seems not work? any idea would be
grateful.
Originally posted by: Peter Pan
dear all,
does anybody know how to program a socket by WinSock2 API without using any MFC stuff (eg. CAsynSocket)?
i need the code to be as portable as possible across non-windows platform.
thanks a lot.
best regards,
Peter
Originally posted by: Daniel Ekengren
I have built a MPEG2 video streaming server and client using this class. First I had an unacceptable packetloss rate (~2%), however, after setting the receive buffer to 32k (default is 8k) using setsockopt SO_RCVBUF my packet loss when streaming 5 Mbit/s is down to 0.01%.
aaaReply
Originally posted by: Frank Z
I use it to multicast datagram on internet,it can't work properly,but it can work on a LAN.what's the problem?
ReplyOriginally posted by: Michael Tanner
1.Override Create in the CMultiCastSocket class as follows:
BOOL CMultiConnection::Create(UINT nSocketPort, int nSocketType,long lEvent, LPCTSTR lpszSocketAddress)
if (Bind(nSocketPort,lpszSocketAddress))
int nResult = GetLastError();
2. Add NULL as a fourth argument to the call to Create in
These two changes will allow two or more sockets to bind to
This is a great wrapper class but some of you may have
noticed that it doesn't allow two or more sockets to be
created on the same computer bound to the same port. I
wrote a multicast server and several clients, one of which
must run on the same machine as the server so I had to code
around that problem. Two changes must be made in order to
accomplish our goal:
{
if (Socket(nSocketType, lEvent))
{
BOOL useit = true;
SetSockOpt(SO_REUSEADDR, (void*)&useit,
sizeof(BOOL), SOL_SOCKET);
return TRUE;
Close();
WSASetLastError(nResult);
}
return FALSE;
}
the function CreateReceivingSocket.
the same port. You should probably delete the call to
SetSockOpt in CreateReceivingSocket as well.
Originally posted by: Ibrar Ahmad
It DO not Sned Data On PPP interface I Join with 224.0.1.41
and send data but it does not sned data on modem( I have Connected To internet) Only send data on eth interface
Originally posted by: Carlos Francisco
The project consists on the following: we have to make an client-server application of video broadcasting in mpeg-2 format, about multicast networks.
From that moment, the client must register in one of those channels.
With respecto to the rest of the application of our project, we would be most thankful if you could provide ANY help.
Warm greetings,
Paco and Carlos, from Spain.
Hello. We are studying the last year of Telecommunications Engineering at university, and currently we are working on the end-of-degree project.
The server must provide several transmission channels of prerecorded files and an on-line channel in real time.
The client must ask for a list containing the prerecorded files and also the channel by which the real time transmission is to be done.
We've been looking for by the codeguru.com URL and found your chat application about multicast network. This finding has been very useful as a first approach to our project, but there are still some problems we don't know how to solve. These are the three problems:
1st: In your application, in the chatWindow control, the scroll does not stay in the last received line, I mean, the scroll should be located in the last received data line.
2nd: When a group component sends data, we observe that for the rest of the participants of the group the control chatMessage gets initialized in blank "", losing what every participant had written in that control.
3rd: Would it be possible to initialize several channels simultaneously,
without having to leave the group in which we are at the moment.
Hello. We are studying mpeg. I want to know the mpeg-2 standard coding. very reards.Reply
I interest mpeg. very regards
ReplyOriginally posted by: Yan
As a client program,this class lib is good(although it can't create multi instances at the same time on one machine ;))
But when i use this class in my service program(under win2000),it can't create a multicast socket! maybe this is the limination of MFC socket class.