04-29-2007
socket error
Hi,
apart from the previous solutions given to u.
one thing i want to add if u are still facing some error
then please use these options at the time of compilations
-lnsl -lsocket -lresolv and i hope then u r program will work fine.
10 More Discussions You Might Find Interesting
1. Programming
Hi all,
I have developed server/client application (using C) and tested it on the same machine .. but when I deploy them on different machines I get connection timeout.
Well .. server machine and client machine exists on different network segments, so there is a linux firewall box to route... (3 Replies)
Discussion started by: Agent007
3 Replies
2. UNIX for Dummies Questions & Answers
Hello all,
I am trying to connect to my Solaris 8 system with X-win. However, when i try to connect, a black screen comes up, then closes up immediatley.
I have checked /var/dt/Xerrors, and I am getting the folllowing:
Warning: Missing charsets in String to FontSet conversion
Warning:... (2 Replies)
Discussion started by: dragunu
2 Replies
3. Programming
Dear All,
I've searched many topics and googled many web-pages, but still I didn't found solution to this problem.
I want to set timeout for connect(). The thing is, that my code works only on BSD, on Linux (tested on SuSE box) it freezes at connect() call :(
bool
SomeFunc(std::string... (1 Reply)
Discussion started by: sggkxv
1 Replies
4. UNIX for Advanced & Expert Users
Hi,
I was porting ipv4 application to ipv6; i was done with TCP transports. Now i am facing problem with SCTp transport at runtime.
To test SCTP transport I am using following server and client socket programs. Server program runs fine, but client program fails giving Invalid Arguments for... (0 Replies)
Discussion started by: chandrutiptur
0 Replies
5. Programming
I have a client /server file operation program.It works properly when i run the client and server program in the same system.but when i try to run the client in one system and server in another system i am getting an error in the cleint machine as "ERROR:Connection refused". Plz help me in this
... (1 Reply)
Discussion started by: vigneshinbox
1 Replies
6. Programming
Hi,
My name is Daniel and I'm spanish, so I'm sorry if you can't undertand something becouse of my low-level english.
Something stranger is happening to me with socket++ library and I don't know how to work on it.
I has a library called commands.so and the sslclient is and object of that... (4 Replies)
Discussion started by: lock.cda
4 Replies
7. Programming
I'm using perl to connect to a port on a unix box from a windows machine. The unix box is located in a remote office and I'm able to connect just fine from my desktop at work across the network. But if I try to remote to another windows machine at the same location as the unix box and try to... (5 Replies)
Discussion started by: nwboy74
5 Replies
8. UNIX for Dummies Questions & Answers
Other people at work are able to connect but I am not. I am not sure if there is a setting that I am missing. Connecting from Win7 to Solaris 10. Connection attempt log:
gnome-session
Connecting 144.243.90.235 via TELNET
Thu Mar 29 15:15:32 2012
login: ***
Password: *******
Last login: Thu... (2 Replies)
Discussion started by: SIFT3R
2 Replies
9. IP Networking
Hi
My socket program is to communicate between the two systems connected with lan. Always i am getting an error saying bind value is -1 or not connected. ..If i run both the server and client programs in the same machine in two diff terminals they are working but they are not working between two... (3 Replies)
Discussion started by: Gurvareddy
3 Replies
10. Shell Programming and Scripting
Im trying to run a query in multiple db thro sqlplus in a loop written n shell script. whenevr there is a problem in connecting to db, the shell script abruptly exits. My requirement is , when db connection fails, the script should print the msg and contnue to connect to the next db mentioned in... (10 Replies)
Discussion started by: anijan
10 Replies
LEARN ABOUT CENTOS
glcullface
GLCULLFACE(3G) OpenGL Manual GLCULLFACE(3G)
NAME
glCullFace - specify whether front- or back-facing facets can be culled
C SPECIFICATION
void glCullFace(GLenum mode);
PARAMETERS
mode
Specifies whether front- or back-facing facets are candidates for culling. Symbolic constants GL_FRONT, GL_BACK, and GL_FRONT_AND_BACK
are accepted. The initial value is GL_BACK.
DESCRIPTION
glCullFace specifies whether front- or back-facing facets are culled (as specified by mode) when facet culling is enabled. Facet culling is
initially disabled. To enable and disable facet culling, call the glEnable() and glDisable() commands with the argument GL_CULL_FACE.
Facets include triangles, quadrilaterals, polygons, and rectangles.
glFrontFace() specifies which of the clockwise and counterclockwise facets are front-facing and back-facing. See glFrontFace().
NOTES
If mode is GL_FRONT_AND_BACK, no facets are drawn, but other primitives such as points and lines are drawn.
ERRORS
GL_INVALID_ENUM is generated if mode is not an accepted value.
ASSOCIATED GETS
glIsEnabled() with argument GL_CULL_FACE
glGet() with argument GL_CULL_FACE_MODE
SEE ALSO
glEnable(), glFrontFace()
COPYRIGHT
Copyright (C) 1991-2006 Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see
http://oss.sgi.com/projects/FreeB/.
AUTHORS
opengl.org
opengl.org 06/10/2014 GLCULLFACE(3G)