Jump to content

  • Log In with Google      Sign In   
  • Create Account

14 years ago on June 15th Gamedev.net was first launched! We want to thank all of you for being part of our community and hope the best years are ahead of us. Happy birthday Gamedev.net!

FXACE

Member Since 18 Sep 2009
Offline Last Active Feb 18 2013 04:06 AM
-----

Topics I've Started

Windows .DLL vs Linux .lib.so

08 November 2012 - 03:25 PM

Hello anyone!
I wish to know: what difference between windows dynamic link libraries and linux shared objects? Does linux objects have entry points like DLLs (BOOL WINAPI DllMain(HINSTANCE hModule, DWORD dwReason, LPVOID data))? How to access public functions of lib.so?

Thanks forward, for any reply!

How to make my pc host "mygame.com"

16 May 2012 - 01:09 PM

Hi folks!

I'm trying to make PC host "mygame.com" (for example) on Windows XP Proffesional SP2. My actions:
1. My Computer -> (rigth mouse button) -> Settings.
2. Going to "Computer name".
3. Clicking on button "Change computer name". It opens a new window "Changing computer name".
4. On edit control typing: "mygame".
5. Clicking on button "Advanced". It opens a new window "DNS-suffix and NetBIOS-computer name".
6. On edit control typing: "com".
7. Pressing "OK". It closes a window ("DNS-suffix and NetBIOS-computer name").
8. Now on "full pc name" label I see: "mygame.com".
9. My pc is a member of a working group "LAN" (Does it make any sense?).
10. Pressing "OK". It closes a window ("Changing computer name") and Windows asks for restart pc.
11. Restarting pc.
12. Checking host by code: "HOSTENT *hostent = gethostbyaddr(<my ip-address given by internet provider>)" and it returns: "hostent->h_name : mygame.com".
13. Now, I'm trying to ping to my pc by this name: Command Promt = "ping mygame.com" and it's works as expected (it shows my ip-address).
14. Next step, also testing: creating a socket and binding to port 80 (default HTTP port) and debug/waiting for incoming packets.
15. On any web-browser on address line typing: "mygame.com". On loading my "web-server" catches this connection, so I can send a HTTP response which works too.

The problem is another pc which is connected to the internet can't find my pc by host name "mygame.com". (#13, #14 and #15 actions are fail).
I had searched any tips about that but nothing found to fix that.
The main question is how to tell to other PCs that host name "mygame.com" is my system(pc)?
Many resources which are closure to my topic, in conclusion: "You need Windows Server ($$$), network routers and other software which would be useless, I thing".

(P.S. "mygame.com" is just example. In real, I used host which is currently not busy)

Thanks forward for any help!

WebGL and Javascript...

28 December 2011 - 05:44 PM

Hello guys.Posted Image

I'm writing a web project with web-gl support. So, I have these questions:

"deleteBuffer,deleteTexture,... on WebGL ?"


var texture = gl.createTexture();
// setup...
// using...
texture = null; // does it removes from GPU or not??? It's a javascript machine (I think it should contain a destructor when object removing)...


"Framebuffer: COLOR_ATTACHMENT0 exists on specification but COLOR_ATTACHMENT1 is not..."

So, is this means that mrt (Multiple Render Targets) is not supported?


Also, looks like it doesn't support depth/stencil textures. Is it true?

Best wishes, FXACE.

PARTNERS