Search:

Type: Posts; User: codec

Page 1 of 6 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    7
    Views
    3,766

    Running linux from a network share on another...

    Running linux from a network share on another computer is possible, but it's not exactly a snap to set up.

    As for connecting the two together, don't forget you'll need a crossover RJ45 cable as...
  2. Replies
    13
    Views
    6,427

    Also, check out this post I made if you're...

    Also, check out this post I made if you're looking to incorporate your send()s into your select() statement at some point.

    http://cboard.cprogramming.com/showthread.php?p=364592#post364592
  3. Replies
    13
    Views
    6,427

    I'd agree with you on the readability of the...

    I'd agree with you on the readability of the code, it's not the best. From what I can tell it seems to be a mix of copy+paste from different tutorials and therefore coding styles without much...
  4. Replies
    13
    Views
    6,427

    That's easy to point out when you have the...

    That's easy to point out when you have the benefit of seeing all the relevant code I did not. Without seeing the client-side code, it was not possible to know he'd included the messagesize in his...
  5. Replies
    13
    Views
    6,427

    Also, if designed correctly, a server app using...

    Also, if designed correctly, a server app using the select() function that is as simple as you're doing shouldn't need any extra threads at all. You can do away with the accept thread by adding your...
  6. Replies
    13
    Views
    6,427

    If you want your server to send out whatever it...

    If you want your server to send out whatever it recieves from one client to every client then loop through your master fd_set and not the polling set as the contents of this would have been modified...
  7. Replies
    13
    Views
    6,427

    If you're trying to store the size of the...

    If you're trying to store the size of the recieved data in messagesize, I'm pretty sure it's not going to do that. If it does it's a very strange and not necessarily reliable way. It'll fill numbytes...
  8. Replies
    13
    Views
    6,427

    One other error I just spotted Remember...

    One other error I just spotted

    Remember 'FD_SET' is a macro for adding sockets to an fd_set and 'fd_set' is the actual structure for an fd_set.

    So you'd want to declare your fd_sets like so:
    ...
  9. Replies
    13
    Views
    6,427

    an fd_set is generally only used to pass the...

    an fd_set is generally only used to pass the sockets you wish to check for readability/writability to select()

    It's not a good idea to use an fd_set to store your actual list of connected clients...
  10. Replies
    8
    Views
    7,648

    Thanks for the info Bubba I'm going to go away...

    Thanks for the info Bubba

    I'm going to go away and fiddle about for a while. I'll report back on how I'm doing (may be some time.. lol)

    Dan
  11. Replies
    8
    Views
    7,648

    I'm looking at the D3DRS_SRCBLEND and...

    I'm looking at the D3DRS_SRCBLEND and D3DRS_DESTBLEND info in the SDK since I'm doing full alpha blending rather than just alpha checking. I'm thinking the answer might be in there somewhere.

    I've...
  12. Replies
    8
    Views
    7,648

    Thanks for the info MrWizard. I know what you...

    Thanks for the info MrWizard. I know what you mean about people saying that they don't use utility functions because they're slow... I just wanted to learn how to do textured quads first.

    I've got...
  13. Replies
    8
    Views
    7,648

    I decided against using the ID3DXSprite interface...

    I decided against using the ID3DXSprite interface since I thought it would be worth learning how to do it manually first.

    I can do the rendering to the back buffer with alpha blending fine. My...
  14. Replies
    8
    Views
    7,648

    Creating a 2D GUI using Direct3D

    I'm creating a 2D GUI using Direct3D to take advantage of things like hardware acceleration and hardware alpha blending.

    For anyone that's got experience with 2D rendering using Direct3D, I've got...
  15. Replies
    10
    Views
    3,824

    Glad to see at least a few people still go there...

    Glad to see at least a few people still go there occasionally. I've been away for the last month and I was sure it would be completely dead.

    There is loads of other C/C++ channels on the various...
  16. Replies
    2
    Views
    978

    application design

    This is a bit of a long post but I'll be grateful to anyone who cam help out

    I've been coding a server application for a few weeks now. As it gets more and more complicated, some design issues are...
  17. Thread: Free emails

    by codec
    Replies
    12
    Views
    2,728

    Slashdot even carried a story on this before the...

    Slashdot even carried a story on this before the problem was fixed.

    http://slashdot.org/article.pl?sid=04/05/19/1219219&mode=thread&tid=126&tid=137&tid=198&tid=217&tid=95
  18. Replies
    36
    Views
    4,368

    How rude. Only people with common sense please...

    How rude.

    Only people with common sense please post.
  19. Replies
    3
    Views
    2,580

    I'm not sure but I think Windows Internet...

    I'm not sure but I think Windows Internet COnnection Firewall can block ICMP
  20. Replies
    18
    Views
    11,400

    People gave up on trying to help solve that...

    People gave up on trying to help solve that problem. I think you're missing the point....





    If you post the relevant code, then people may actually be able to have an attempt at telling you...
  21. I'm not sure whether that article is what I'm...

    I'm not sure whether that article is what I'm looking for since it is mainly talking about how to use the new XP common controls, but I'm going to have a good look when I get some time later. Thanks...
  22. hbrBackground (WNDCLASSEX) problems in Windows XP

    I've been having some trouble getting my window to have the standard background colour when Windows XP themes are enabled.

    If I set the hbrBackground to COLOR_WINDOW when I have the classic...
  23. Replies
    18
    Views
    11,400

    As Salem as already stated, because UDP messages...

    As Salem as already stated, because UDP messages (datagrams) are always recieved and sent as one whole message, the client and server software should already have pre-defined size limits (which *you*...
  24. Replies
    7
    Views
    2,234

    I would say mIRC too for Windows. For unix I...

    I would say mIRC too for Windows.

    For unix I use irssi, but it's a command line client so it's all a matter of taste.
  25. Replies
    1
    Views
    1,873

    search the internet for information on creating...

    search the internet for information on creating Unicode applications. Also, the VS .net help files have a large amount of information on character sets and Unicode.
Results 1 to 25 of 129
Page 1 of 6 1 2 3 4