⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 qsocketaddress.3qt

📁 tmark1.11:用于生成QT/EMBEDDED应用工程的Markfile文件
💻 3QT
字号:
.TH QSocketAddress 3qt "6 July 1999" "Troll Tech AS" \" -*- nroff -*-.\" Copyright 1992-1999 Troll Tech AS.  All rights reserved.  See the.\" license file included in the distribution for a complete license.\" statement..\".ad l.nh.SH NAMEQSocketAddress \- QSocketAddress provides a port number and an IP address.SH SYNOPSIS.br.PP\fC#include <qsocketdevice.h>\fR.PP.SS "Public Members".in +1c.ti -1c.BI "\fBQSocketAddress\fR ()".br.ti -1c.BI "\fBQSocketAddress\fR ( int " "port" ", uint " "ip4Addr" "=0 )".br.ti -1c.BI "\fBQSocketAddress\fR ( const QSocketAddress & )".br.ti -1c.BI "\fB~QSocketAddress\fR ()".br.ti -1c.BI "QSocketAddress& \fBoperator=\fR ( const QSocketAddress & )".br.ti -1c.BI "int \fBport\fR () const".br.ti -1c.BI "uint \fBip4Addr\fR () const".br.ti -1c.BI "QString \fBip4AddrString\fR () const".br.ti -1c.BI "bool \fBoperator==\fR ( const QSocketAddress & )".br.in -1c.SS "Protected Members".in +1c.ti -1c.BI "void* \fBdata\fR () const".br.ti -1c.BI "int \fBlength\fR () const".br.ti -1c.BI "void \fBsetData\fR ( void *, int )".br.in -1c.SH DESCRIPTIONQSocketAddress provides a port number and an IP address..PPThis class contains a port number and an IP address in a platform-independent manner. QSocketAddress is normally used with the classes QSocketDevice and QSocket to set up a server or to connect to a host..PPSee also: QSocket and QSocketDevice..SH MEMBER FUNCTION DOCUMENTATION.SH "QSocketAddress::QSocketAddress ()"Creates a socket address object with the port number 0 and IP address 0.0.0.0..SH "QSocketAddress::QSocketAddress ( const QSocketAddress & a )"Creates a copy of another socket address..SH "QSocketAddress::QSocketAddress ( int port, uint ip4Addr=0 )"Creates a socket address object with a specified port number and IP address..SH "QSocketAddress::~QSocketAddress ()"Destroys the socket address object..SH "uint QSocketAddress::ip4Addr () const"Returns the IP address as a number..PPFor example, if the address is 127.0.0.1, the returned value is 2130706433 (hex: 7f000001)..PPSee also: ip4AddrString()..SH "QString QSocketAddress::ip4AddrString () const"Returns the IP address as a string..PPFor example, if the address is 2130706433 (hex: 7f000001), the returned string is "127.0.0.1"..PPSee also: ip4Addr()..SH "QSocketAddress & QSocketAddress::operator= ( const QSocketAddress & a )"Assigns another socket address object \fIa\fR to this object and returns a referense to this object..SH "bool QSocketAddress::operator== ( const QSocketAddress & a )"Returns TRUE if this socket address is identical to \fIa,\fR or FALSE if they are different..SH "int QSocketAddress::port () const"Returns the port number..SH "SEE ALSO".BR http://www.troll.no/qt/qsocketaddress.html.SH COPYRIGHTCopyright 1992-1999 Troll Tech AS.  See the license file included inthe distribution for a complete license statement..SH AUTHORGenerated automatically from the source code.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -