| |
| |
| |
|
Comments:
<0> hmmmm so tcp in .net is done through System.Net.Socket -> Sockets I ***ume? <1> yes <0> are there any stream-ish wrappers etc? <1> or you get our free socket package <1> NetworkStream ? <0> aha <0> sweet, i was trying SocketStream etc :P <0> whats your magical bunde of joy package? <0> l <1> http client/server <1> ftp client/server <1> etc
<0> Internet Pack for .NET ? <1> ye <0> well this is proprietary protocol <1> ah ke. <1> networkstream then <0> :) ok thanks <0> i wrote the protocol myself so it shouldnt be too cryptic to implement hehe <1> hehe <1> note that network streams read/write options <1> can send/receive less than you want <0> ya i was browsing the various constructors <1> that's why we have IP <0> because people can't bitwise or some valueS? :) <1> because when I read 100 bytes <1> I want 100 bytes <0> and what does that have to do with the read/write access? <1> access? <1> that's not what I said. <0> hm ok you meant the methods i guess <1> options -> methods <1> yes <1> ootje: That]'s one of the things we require for most our protocols <1> I can't do anything with half the number of bytes :) <0> so by nature it's non-blocking? <1> no no <1> raw socket access <1> never returns the number of bytes you ask for <1> it returns whatever it gets <1> blocking or non blocking <0> ok, isee <1> internet pack does both. <0> btw <0> Extendable Connection cl*** allows you to easily integrate custom encryption or compression solutions* <0> no * explanation listed :P <0> http://www.remobjects.com/page.asp?id={1DA6BE9B-4096-4E02-BA88-DDC2410EAED9} <1> ty <0> maybe i'll just download it and test drive it to save some time x) <1> hehe <1> IP does both blocking and non blocking <1> via read/write and beginread/endread beginwrite/endwrite <0> thsi is basically just a plaintext ascii protocol so.. just need simple write/readline methods <1> it has those too <1> if it's command based <1> iteven has a command based base component <0> key ki9a
<0> whats the deal with this in all of your html pages :P <0> <!-- This page was automatically created by elitedevelopments preHTML. for more information, see http://www.prehtml.com --> <0> er it said trial somewhere else hm <0> <!-- This page was automatically created by a TRIAL VERSION of elitedevelopments preHTML. for more information, see http://www.prehtml.com --> <1> :) <1> not important <0> hehe <1> prehtml is a ro thing. <0> yuo piratez <0> *grin* <0> so which cl*** would i use for a regular client.. TcpClient ? <1> I suppose <1> anyone here know how to register a cf dll so vs.net shows it in the Add Reference dialog? <0> meh great. vs2005 is having a hard time after i pressed f1 on a ro object <0> "waiting for an operation to complete" <0> finally done waiting :p <1> heh <1> what are you doing ? <0> i was just trying to f1 a Connection.ReadTimeout :p <0> its giving me Stream.ReadTimeout tho <1> heh <0> probably because i should use .Timeout ? :p <1> no clue :) <1> hrmm <1> great <1> Several RFCs state that you are required to have a postmaster 550-mailbox for each mail domain. This host does not accept mail 550-from domains whose servers reject the postmaster address. 550 Sender verify failed <2> Hihi, I have a question about threads <1> ah yes <2> I'm making this vulnerability scanner and it will be multithreaded. I will start 50 threads which will each perform a certain action until they are at the end of the "task list". Now, how can I return the results of the scan? I basically want to start 50 threads, wait till they are done, get the results and return it in 1 method. <2> I was thinking about making a field "done" <2> and doing while(!done){thread.sleep(250);} return results; <2> but that seems inefficient and I'm sure there are better ways <1> why would you loop with sleep ? <1> I mean where's the rest of the code. <2> I'd start the 50 threads, then do that loop, then return the results <2> the threads, when they are done, would modify the "results" field <2> You see now? <1> there's no result from a loop that's sleeping <3> ki9a, the threads are setting the result <3> not the thread that calls them.. <3> well, creates them <3> public string getResults(){/*make threads*/ while <3> (!done) { sleep} return results;} <3> } <1> ah well you could use an AutoResetEvent <3> keyboard kinda slipped.. <3> Alright, I'll look it up, thanks <3> ah sweet! <3> I got it now, I just make the method WaitOne, and then have the threads send a signal <1> yep <3> muhahah, purrrrfect <1> :) <1> and it takes no cpu what so ever <1> as it's windows that handles it
Return to
#csharp or Go to some related
logs:
#beginner #debian #gentoo #politics #ubuntu #gamedev bout-disk. the newfies #computers #delphi
|
|