Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 1

Qt-interest Archive, September 2007
ICMP - Programming


Message 1 in thread

Hi - 

I´m wondering if anyone here has experience how to program ICMP messages with Qt. As a first step I want to program a simple ping for which the frequency of sent ping packages can be adjusted.

Can anyone give a first quick hint ?

Thanks 

-- A l e x
-- 
 [ signature omitted ] 

Message 2 in thread

Alexander.Carôt wrote:
>Hi -
>
>I´m wondering if anyone here has experience how to program ICMP messages
> with Qt. As a first step I want to program a simple ping for which the
> frequency of sent ping packages can be adjusted.
>
>Can anyone give a first quick hint ?

Qt does not have an API to program raw sockets. You can only use TCP and 
UDP sockets. Even fancy "user-level" sockets like DCCP or SCTP are not 
supported. (RTP is built upon UDP)

Not to mention that you need some kind of privilege to create raw sockets 
on most platforms, so these are not intended to be direct-end-user 
applications.

-- 
 [ signature omitted ] 

Attachment: signature.asc
Description: This is a digitally signed message part.