Jump to content

WaitNetwork and CreateHost


f13rce
 Share

Recommended Posts

Hey all,

 

I've been trying to make a simpel client and server to put it later in my game, but I've encountered some problems:

 

After checking the Wiki how and what, it said I had to use WaitNetwork, which isn't (according to MVS) an identifier.

So what should be correct identifier for WaitNetwork in C?

 

Also I've been looking at CreateHost, which unfortunately is in Lua. Is it possible to get this in C?

 

Thanks for helping :)

 

- Evayr

Using Leadwerks Professional Edition (Beta), mainly using C++.

Windows 10 / Linux Mint, Visual Studio 2017. GPU: NVidia GeForce GTX970, CPU: Intel i7 7700K @ 4.20 GHz

Previously known as Evayr.

Link to comment
Share on other sites

Thanks for the quick reply :)

 

After looking I saw the "TEvent *cevent", as here below.

inline int WaitNetEvent(THost host,    TEvent *cevent    , int timeout)

{

return leWaitNetEvent(host, cevent, timeout);

}

 

What does cevent do?

 

At last, I've heard of RakNet before, is there a diffrence in speed between RakNet and the Leadwerks functions?

 

Thanks for answering :)

Using Leadwerks Professional Edition (Beta), mainly using C++.

Windows 10 / Linux Mint, Visual Studio 2017. GPU: NVidia GeForce GTX970, CPU: Intel i7 7700K @ 4.20 GHz

Previously known as Evayr.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...