2003-04-27 22:15:26 +00:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
< html > < head > < meta http-equiv = "Content-Type" content = "text/html;charset=iso-8859-1" >
< title > /include/ZE_ZClient.h Source File< / title >
< link href = "doxygen.css" rel = "stylesheet" type = "text/css" >
< / head > < body >
<!-- Generated by Doxygen 1.3 - rc2 -->
< center >
< a class = "qindex" href = "index.html" > Main Page< / a > < a class = "qindex" href = "namespaces.html" > Namespace List< / a > < a class = "qindex" href = "annotated.html" > Compound List< / a > < a class = "qindex" href = "files.html" > File List< / a > < a class = "qindex" href = "namespacemembers.html" > Namespace Members< / a > < a class = "qindex" href = "functions.html" > Compound Members< / a > < a class = "qindex" href = "globals.html" > File Members< / a > < / center >
< hr > < h1 > /include/ZE_ZClient.h< / h1 > < a href = "ZE__ZClient_8h.html" > Go to the documentation of this file.< / a > < div class = "fragment" > < pre > 00001 < span class = "comment" > /*******************************************************************************< / span >
00002 < span class = "comment" > This file is Part of the ZEngine Library for 2D game development.< / span >
00003 < span class = "comment" > Copyright (C) 2002, 2003 James Turk< / span >
00004 < span class = "comment" > < / span >
00005 < span class = "comment" > Licensed under a BSD-style license.< / span >
00006 < span class = "comment" > < / span >
00007 < span class = "comment" > The maintainer of this library is James Turk (james@conceptofzero.net) < / span >
00008 < span class = "comment" > and the home of this Library is http://www.zengine.sourceforge.net< / span >
00009 < span class = "comment" > *******************************************************************************/< / span >
00010
00024 < span class = "preprocessor" > #ifndef __ze_zclient_h__< / span >
00025 < span class = "preprocessor" > < / span > < span class = "preprocessor" > #define __ze_zclient_h__< / span >
00026 < span class = "preprocessor" > < / span >
00027 < span class = "preprocessor" > #include "< a class = "code" href = "ZE__ZEngine_8h.html" > ZE_ZEngine.h< / a > "< / span >
00028
00029 < span class = "preprocessor" > #ifdef USE_SDL_NET< / span >
00030 < span class = "preprocessor" > < / span >
00031 < span class = "keyword" > namespace < / span > ZE
00032 {
00033
2003-04-27 22:15:26 +00:00
< a name = "l00040" > < / a > < a class = "code" href = "classZE_1_1ZClient.html" > 00040< / a > < span class = "keyword" > class < / span > < a class = "code" href = "classZE_1_1ZClient.html" > ZClient< / a >
2003-04-27 22:15:26 +00:00
00041 {
00042 < span class = "keyword" > protected< / span > :
2003-04-27 22:15:26 +00:00
< a name = "l00044" > < / a > < a class = "code" href = "classZE_1_1ZClient.html#n0" > 00044< / a > < a class = "code" href = "classZE_1_1ZEngine.html" > ZEngine< / a > *< a class = "code" href = "classZE_1_1ZClient.html#n0" > rEngine< / a > ;
< a name = "l00046" > < / a > < a class = "code" href = "classZE_1_1ZClient.html#n1" > 00046< / a > TCPsocket < a class = "code" href = "classZE_1_1ZClient.html#n1" > rSocket< / a > ;
< a name = "l00048" > < / a > < a class = "code" href = "classZE_1_1ZClient.html#n2" > 00048< / a > SDLNet_SocketSet < a class = "code" href = "classZE_1_1ZClient.html#n2" > rSocketSet< / a > ;
< a name = "l00050" > < / a > < a class = "code" href = "classZE_1_1ZClient.html#n3" > 00050< / a > < span class = "keywordtype" > bool< / span > < a class = "code" href = "classZE_1_1ZClient.html#n3" > rVerbose< / a > ;
< a name = "l00052" > < / a > < a class = "code" href = "classZE_1_1ZClient.html#n4" > 00052< / a > < span class = "keywordtype" > int< / span > < a class = "code" href = "classZE_1_1ZClient.html#n4" > rWaitTime< / a > ;
2003-04-27 22:15:26 +00:00
00053
00054 < span class = "keyword" > public< / span > :
2003-04-27 22:15:26 +00:00
00061 < a class = "code" href = "classZE_1_1ZClient.html#a0" > ZClient< / a > (< span class = "keywordtype" > bool< / span > verbose=< span class = "keyword" > false< / span > );
2003-04-27 22:15:26 +00:00
00062
2003-04-27 22:15:26 +00:00
00068 < span class = "keyword" > virtual< / span > < a class = "code" href = "classZE_1_1ZClient.html#a1" > ~ZClient< / a > ();
2003-04-27 22:15:26 +00:00
00069
2003-04-27 22:15:26 +00:00
00078 < span class = "keywordtype" > bool< / span > < a class = "code" href = "classZE_1_1ZClient.html#a2" > Connect< / a > (< span class = "keywordtype" > char< / span > *server, Uint16 port);
2003-04-27 22:15:26 +00:00
00079
2003-04-27 22:15:26 +00:00
00085 < span class = "keywordtype" > void< / span > < a class = "code" href = "classZE_1_1ZClient.html#a3" > Disconnect< / a > ();
2003-04-27 22:15:26 +00:00
00086
2003-04-27 22:15:26 +00:00
00094 < span class = "keywordtype" > void< / span > < a class = "code" href = "classZE_1_1ZClient.html#a4" > SetWaitTime< / a > (< span class = "keywordtype" > int< / span > wait);
2003-04-27 22:15:26 +00:00
00095
2003-04-27 22:15:26 +00:00
00104 < span class = "keywordtype" > bool< / span > < a class = "code" href = "classZE_1_1ZClient.html#a5" > Send< / a > (ZByte *data, < span class = "keywordtype" > int< / span > size);
2003-04-27 22:15:26 +00:00
00105
2003-04-27 22:15:26 +00:00
00113 < span class = "keywordtype" > int< / span > < a class = "code" href = "classZE_1_1ZClient.html#a6" > Receive< / a > (ZByte *data);
2003-04-27 22:15:26 +00:00
00114
2003-04-27 22:15:26 +00:00
00121 < span class = "keywordtype" > bool< / span > < a class = "code" href = "classZE_1_1ZClient.html#a7" > Connected< / a > ();
2003-04-27 22:15:26 +00:00
00122
2003-04-27 22:15:26 +00:00
00129 < span class = "keywordtype" > int< / span > < a class = "code" href = "classZE_1_1ZClient.html#a8" > WaitTime< / a > ();
2003-04-27 22:15:26 +00:00
00130 };
00131
00132 } < span class = "comment" > //namespace ZE< / span >
00133
00134 < span class = "preprocessor" > #endif //USE_SDL_NET< / span >
00135 < span class = "preprocessor" > < / span >
00136 < span class = "preprocessor" > #endif //__ze_zclient_h__< / span >
2003-04-27 22:15:26 +00:00
< / pre > < / div > < hr > < address style = "align: right;" > < small > Generated on Sun Apr 27 18:16:26 2003 for ZEngine by
2003-04-27 22:15:26 +00:00
< a href = "http://www.doxygen.org/index.html" >
< img src = "doxygen.png" alt = "doxygen" align = "middle" border = 0
width=110 height=53>< / a > 1.3-rc2 < / small > < / address >
< / body >
< / html >