@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4 5 6 7 8 9 10 11 12



Comments:

<0> or there's a router preventing the connection or some such thing
<1> I just want to make the error don't apear.
<0> well that's stupid - the error appears because there's a problem. so fix the problem.
<1> problem: server off
<0> soltion: turn it on
<0> or fix the connection problem
<1> meanwhile every 1 second get the error message?
<0> i can't rub my genie lamp and fix it for you, sorry
<1> I'm writing an internet club manager
<0> no idea what that means
<0> you could of course detect the error and handle it somehow differently, if that's what you're after
<1> the client connects to the master (server). when the client machine turns on the client program starts and automaticaly connects to the server.
<0> i.e.: "server unavailable"
<1> I made the client trying to connect to the server every 1 sec. maybe you know any other ideea how to make the client connect with no error whe the server is off?
<0> Andrusha you're really not being clear about what you're trying to do... "how to make the client connect with no error" <-- that doesn't make sense - if there's an error and it can't connect, it's going to return an error. how else will you know whether or not it connected?
<1> The server has to know if the client is connected or not. the client does not have to know that



<0> sure it does... why would you try to send or receive data if it's not connected to the server?
<1> ...
<0> if it can't connect, you tell the user "hey idiot, I can't connect. sorry"
<1> the server may not always be on
<0> exactly
<1> the client sends no data to server. server manages the client
<1> just wanna know how to hide the error message
<0> i don't know where it's 'showing'
<0> is it from a thrown exception? if so, catch it and deal with it how you want to
<0> usually the user should know whether or not they've established a connection with the server
<1> I tried with catch and it didn't worked
<1> how to catch it?
<0> what are you trying to catch?
<0> you catch exceptions by type... what type is being thrown?
<1> the error "Asynchronous socket error 10061"
<1> the error window....
<0> well a window isn't an exception
<0> but at least now you're starting to describe what's going on
<0> TClientServer... is this by any chance a delphi application?
<1> builder c++
<0> well look through the docs to see if there's a way to supress the error window
<0> I have no idea what TClientServer is
<2> somehting like CSocket
<0> "something like" says nothing about it
<2> well it the winsock api wrapper nothing special
<0> it must be special, if it's creating error dialogs
<0> i've never seen the winsock api do such a thing
<0> Andrusha maybe you'd have better luck just using winsock directly
<1> like how?
<0> like learning how
<1> maybe you cold explain how to make a client-server staying connected all the time?
<0> you can't
<0> you have to expect network disconnects, and deal with it
<0> no amount of programming is going to stop me from pulling the plug on my computer and causing a disconnection
<1> and how could I do it?
<0> however you want to
<0> you could try reconnecting... you could just give up... etc
<0> http://beej.us/guide/bgnet/
<3> Lovepump (odd name i know) also wrote a few good tutorials on network programming for warindustries if you can find them
<1> thank you all
<0> hmm
<0> can I send objects over DLL boundaries in the case of managed dll's? (built with /clr)
<4> Yes
<5> hi there
<5> anybody can gimme a registration key of visual c++ express
<4> There isn't one.
<4> It's free.
<4> http://lab.msdn.microsoft.com/express/visualc/default.aspx
<4> And we don't give out registration keys, anyway.
<5> oppss sorry
<6> Off to office
<7> if making a sudoku, should i use a normal tab, a vector or a list ?
<8> bye all
<9> normal tab?
<10> hello
<10> how can i clear a file without closing it and reopening it ..
<9> slimD, you mean clearing the fail state?
<9> or clearing the contents?
<11> !seen pr*
<12> What`s radical in C++



<12> ?
<13> msvc++ says that if alloca fails, it returns null pointer, but linux says that "if the allocation causes stack overflow, the program behavior is undefined"...so I take it is better to stay away from alloca alltogether?
<14> why on earth would you use alloca in the first place?
<15> u guys know of any program that tells me the motherboard model of a computer?
<15> and spec...
<15> like motherboard and chipset....
<0> what the heck is 'alloca' and why aren't you using 'new' ?
<16> lo, rdragon how's it going?
<0> hey, pretty good - yourself?
<0> i started playing around with web services, this morning got it all tied into the project; it works rather well, i'm impressed at how simple it is
<14> webservices are pretty easy in .net
<0> yeah
<14> well vs2k5
<16> doin' ok... had to do a little snowblower action this mornign though
<0> ah, it's been raining here all morning
<16> at 6AM it was cloudy no precipitation so I went back to sleep, at 0745 there was about 10cm on the ground and it was coming down heavy
<17> howdy
<0> hello newman
<17> http://rafb.net/paste/results/1DrbGy61.html
<17> do I really need a copy constructor there?
<0> do you want to replace the compiler generated copy constructor? if so, then yes
<17> http://rafb.net/paste/results/UE5IlX17.html
<18> you need a ; on line 8 and a struct is identical to a cl*** except for default access
<16> what are you doing?
<16> oh yeah, trying to do a sparse matrix... you didn't like the one in boost?
<17> no, I cannot use that
<17> haven't checked it out
<16> why not?
<17> because I have to make my own :)
<16> school **** again?
<17> always
<17> rdragon, does it look like I need to make copy constructor because of the pointer to the struct?
<16> well, I can't say I like your design thusfar
<17> the struct is dynamically allocated
<17> in the constructor
<0> why?
<16> deallocate ????
<17> why?, because I need memory for the variables based on the file I have to read
<0> "memory for the variables based on the file I have to read" <-- huh?
<16> and the idea of using MatSparse and matsparse at the same time for two DIFFERENT types is folly
<0> what variables? and what file?
<0> er, hrm
<17> ASCII file
<0> corstan that really doesn't say anything about the file
<16> scan?
<16> I don't think you've caught on about streams yet
<17> I am not going to spend any time explainng the entire freaking code
<17> just asked if I need a copy constructor
<16> your naming ****s
<17> since I am allocating mem. for that structure
<0> he hasn't... he's been trying to use C everywhere
<17> vawjrwrk, good for me
<16> what does your destructor do? do you NEED a destructor?
<16> if you NEED a destructor, you NEED a copy constructor AND an ***ignment operator
<16> if you NEED any of the 3, you NEED all 3
<17> operator= (....) ?
<17> ok
<16> no go get a REAL book on C++ or tell your teacher to straighten up and TEACH
<0> and if you designed it betterly, you likely wouldn't need any of the 3
<17> do you teach C++ ?
<16> not here
<17> rdragon, I want to learn how to use them
<17> so if I need or not
<17> that's another issue
<0> right, you know what's best, as usual
<17> ok, sorry for asking
<0> before you have any hope of learning how to use a programming language, you need to learn how to program
<0> I don't see what use it is to learn some specific feature, when you're not in a situation that it should be used anyway
<17> why do you have this channel?
<17> for letting people not learn C++?
<0> to help and guide people, not to teach them
<19> corstan get a book to learn . rdragon tell him the web you told me :)
<0> if you would open your mind a bit more and close your mouth, you might actually learn something
<18> and some of us like to discuss c++ without a strict teacher/student relationship


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #c++
or
Go to some related logs:

#linuxhelp
Dyalog APL component file
#AllNiteCafe
farutil hdlc0
ashoura,leb
#AllNiteCafe
Sophie49
FileUploadException Stream ended unexpectedly
fstats c++ library
#AllNiteCafe



Home  |  disclaimer  |  contact  |  submit quotes