---
name: "Net.send"
section: "3kaya"
platform: "linux"
package: "kaya"
version: "0.4.4-6.2"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/Net.send"
---

# Net.send(3kaya)

Send data across a connection.

## NAME

Net::send - Send data across a connection.

## SYNOPSIS

**Void send(** *NetHandle h, String d* **)**

## ARGUMENTS

**h** The connection

**d** The data to send

## DESCRIPTION

Send data across a connection. This function is not suitable for data containing null bytes, for which **Net.sendByte (3kaya)** or **Net.sendBytes (3kaya)** should be used.

## AUTHORS

Kaya standard library by Edwin Brady, Chris Morris and others (kaya@kayalang.org). For further information see http://kayalang.org/

## LICENSE

The Kaya standard library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (version 2.1 or any later version) as published by the Free Software Foundation.

## RELATED

**Net.NetHandle (3kaya)**

**Net.accept (3kaya)**

**Net.closeConnection (3kaya)**

**Net.connect (3kaya)**

**Net.sendByte (3kaya)**

**Net.sendBytes (3kaya)**

**Net.recv (3kaya)**
