User Profile

Collapse

Profile Sidebar

Collapse
prognoob
prognoob
Last Activity: Oct 5 '07, 04:43 AM
Joined: Apr 12 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • prognoob
    replied to mysqldatareader.read()
    i am using c#.......
    See more | Go to post

    Leave a comment:


  • prognoob
    started a topic mysqldatareader.read()

    mysqldatareader.read()

    mysqldatareader .read()
    is it capable of returning multiple rows in the database or does it return only the first row that matches the criteria?
    if so, then how do I read multiple rows from the table.
    also, does checking if the function returned true or false say anything about empty sets?
    See more | Go to post

  • prognoob
    replied to c# - file transfer - using sockets
    in .NET
    is my question clear?
    See more | Go to post

    Leave a comment:


  • prognoob
    started a topic c# - file transfer - using sockets
    in .NET

    c# - file transfer - using sockets

    I need help coding a file transfer in C#. It would be over TCP/IP using sockets...
    most of the solutions i have come across, they use networkstream
    and i have read online that there is no need to use networkstream with c# sockets... so how do I do it?
    also, do I need to worry about serialization/deserialization ?
    any help would be greatly appreciated
    See more | Go to post

  • prognoob
    replied to Getting started with foreign keys
    no, i think i still did not make my question clear...

    all I am saying is ...

    table1 made user1 get numeric key 1, how do I ensure table 2 will make user1 get numeric key 1 too.
    when i do the foreign key, it doesnt quite ensure that...
    did I make my question clear?
    See more | Go to post

    Leave a comment:


  • prognoob
    replied to Getting started with foreign keys
    yeah your first post does not help me quite much...
    but yeah you second post probably indicates what I am trying to do
    thanks
    See more | Go to post

    Leave a comment:


  • prognoob
    started a topic Getting started with foreign keys

    Getting started with foreign keys

    I have two tables...
    both of them have first field as autoincremented numeric key
    and second field as user id of the person...
    i want to make sure when data is inserted into row 1 of table1, the relevant data also gets inserted in row 1 of table2. In other words, I want to make sure that if two rows of these two tables have the same primary key (that autoincrement int), then they both are pointing to information of the same...
    See more | Go to post

  • prognoob
    started a topic Question about numeric keys...

    Question about numeric keys...

    how do they work?
    so i saw someone posting like...
    [CODE=mysql]Create Table login
    (Id int(4) NOT NULL,
    UserName varchar(20) NOT NULL,
    Password varchar(6) NOT NULL,
    securityQuestio n varchar(50) NOT NULL,
    SecurityAnswer varchar(50) NOT NULL,
    Primary key (Id));[/CODE]

    This person is clearly using numeric key...
    but how do they work?
    If I need information...
    See more | Go to post

  • prognoob
    started a topic chat messenger - security issues?

    chat messenger - security issues?

    I have searched online, and what I mostly come across is what these security issues are...
    for example, Worms, Backdoor Trojan Horses, Hijacking and Impersonation, Denial of Service etc.

    but I dont recall coming across something that deals with HOW I would avoid these issues while writing my messenger.
    From what I have understood so far, the security really does depend a lot on the user, because he ultimately decides...
    See more | Go to post

  • prognoob
    replied to Rpc - C
    oh? I had no clue I would have to use semaphore with remote procedure call
    See more | Go to post

    Leave a comment:


  • prognoob
    replied to Rpc - C
    i'm sorry, but is my question clear enough ?
    See more | Go to post

    Leave a comment:


  • prognoob
    started a topic Rpc - C

    Rpc - C

    so i have to write a program in C that makes linux remote procedure call.

    i have a couple of questions

    1) when multiple clients call the remote procedure simultaneously, how does the server handle it? In other words, while writing the code for server, do I need to guard against something? ( you know like critical section and all that? or am I worrying unnecessarily?)

    2) if i need to tell my code the...
    See more | Go to post

  • prognoob
    started a topic not really a C question, but thread ids
    in C

    not really a C question, but thread ids

    i am using g++ compiler
    i am getting negative thread id on using pthread_self() function...
    i tried doing both int tid = pthread_self()
    and pthread_t tid = pthread_self()
    i still get negative values...



    furthermore, should i expect tid's to be 0, 1, 2, 3.... instead of 2345, 2346...



    also, i know process id's are consecutive....
    (if process 1 as pid = 2345,...
    See more | Go to post

  • prognoob
    replied to i am having a hard time with stl queue
    in C
    I did use the statement include <queue> before using namespace std;...
    See more | Go to post

    Leave a comment:


  • prognoob
    started a topic i am having a hard time with stl queue
    in C

    i am having a hard time with stl queue

    i thought it would be kinda cool to use stl queue in my c++ program. however, it turns out stl queue is not happy with me...

    i have a header, and I have declared the queue as

    queue<int> q;

    and please do note that i have used #include <queue> too
    but it would still not recognize queue as a class, it would tell me "error: expected constructor, destructor, or type conversion before...
    See more | Go to post
No activity results to display
Show More
Working...