Problem regading Ethernet uning TCP/IP
Hi everybody ,I need a suggestion regarding Ethernet in QT. I need to communicate data from the Gui application which I have developed to an Hardware unit through Ethernet using TCP/IP protocol . I am new to this concept . Is there any libraries like QExtSerialPort to access the ethernet .
please give your valuable suggestion regarding how to initiate and proceed in QT(Windows).
So please help me to solve this peoblem .Thanks for your valuable help in advance.
With Regards,
Sudheer
Re: Problem regading Ethernet uning TCP/IP
did you read about QTcpSocket?
Re: Problem regading Ethernet uning TCP/IP
Hi Spirit ,
Thanks for your quick and kind reply.I read about QTcpSocket class .But one thing I have to know is how can I access the Ethernet and communicate on Ethernet.Is it possible to do by using QTcpSocket class.
So please suggest me to clear the confusion.
With Regards,
Sudheer
Re: Problem regading Ethernet uning TCP/IP
I dont understand what do you need: if you need to communicate with remote computer then yes, QTcspSockect will help you, if you need to work with hardware, i.e. with ethernet card then you need to use platform specific functions.
Re: Problem regading Ethernet uning TCP/IP
Thanks for your suggestion.
With Regards
Sudheer,
Re: Problem regading Ethernet uning TCP/IP
Quote:
... unit through Ethernet using TCP/IP protocol ...
Ethernet and TCP are on different layers in ISO/OSI stack. So if you use Ethernet devices in your network connection, it doesn't matter if it's TCP, UDP etc. - it's all send with Ethernet in lower layer. For example: when I'm opening a web page in my browser, it's also accessing that server through the Ethernet for example in my LAN. So if you want to communicate with your device with TCP/IP and through Ethernet devices, don't worry about Ethernet - just use QTcpSocket.
P.S. That might be helpful: http://en.wikipedia.org/wiki/OSI_mod..._of_OSI_layers